root/Whitix/trunk/include/time.h

Revision 608, 1.0 KB (checked in by mwhitworth, 4 years ago)

(Hopefully) convert all source and header files to UNIX line endings.

Line 
1/* time.h - kernel time functions.
2 * ==============================
3 *
4 *  This file is part of Whitix.
5 *
6 *  Whitix is free software; you can redistribute it and/or modify
7 *  it under the terms of the GNU General Public License as published by
8 *  the Free Software Foundation; either version 2 of the License, or
9 *  (at your option) any later version.
10 *
11 *  Whitix is distributed in the hope that it will be useful,
12 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
13 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 *  GNU General Public License for more details.
15 *
16 *  You should have received a copy of the GNU General Public License
17 *  along with Whitix; if not, write to the Free Software
18 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19 *
20 */
21
22#ifndef TIME_H
23#define TIME_H
24
25#include <types.h>
26
27struct Time
28{
29        time_t seconds,useconds;
30};
31
32extern struct Time currTime;
33
34int TimeInit();
35void TimeUpdate();
36
37#endif
Note: See TracBrowser for help on using the browser.