diff options
author | zakk <zakk@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-08-26 17:39:27 +0000 |
---|---|---|
committer | zakk <zakk@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-08-26 17:39:27 +0000 |
commit | 6bf20c78f5b69d40bcc4931df93d29198435ab67 (patch) | |
tree | e3eda937a05d7db42de725b7013bd0344b987f34 /lcc/include/sparc/solaris/time.h | |
parent | 872d4d7f55af706737ffb361bb76ad13e7496770 (diff) | |
download | ioquake3-aero-6bf20c78f5b69d40bcc4931df93d29198435ab67.tar.gz ioquake3-aero-6bf20c78f5b69d40bcc4931df93d29198435ab67.zip |
newlines fixed
git-svn-id: svn://svn.icculus.org/quake3/trunk@6 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'lcc/include/sparc/solaris/time.h')
-rwxr-xr-x | lcc/include/sparc/solaris/time.h | 96 |
1 files changed, 48 insertions, 48 deletions
diff --git a/lcc/include/sparc/solaris/time.h b/lcc/include/sparc/solaris/time.h index 55a4922..07d8b41 100755 --- a/lcc/include/sparc/solaris/time.h +++ b/lcc/include/sparc/solaris/time.h @@ -1,48 +1,48 @@ -#ifndef __TIME
-#define __TIME
-
-#define CLOCKS_PER_SEC 1000000
-#ifndef NULL
-#define NULL 0
-#endif
-
-#if !defined(_CLOCK_T) && !defined(_CLOCK_T_)
-#define _CLOCK_T
-#define _CLOCK_T_
-typedef long clock_t;
-#endif
-
-#if !defined(_TIME_T) && !defined(_TIME_T_)
-#define _TIME_T
-#define _TIME_T_
-typedef long time_t;
-#endif
-
-#if !defined(_SIZE_T) && !defined(_SIZE_T_)
-#define _SIZE_T
-#define _SIZE_T_
-typedef unsigned long size_t;
-#endif
-
-struct tm {
- int tm_sec;
- int tm_min;
- int tm_hour;
- int tm_mday;
- int tm_mon;
- int tm_year;
- int tm_wday;
- int tm_yday;
- int tm_isdst;
-};
-extern clock_t clock(void);
-extern double difftime(time_t, time_t);
-extern time_t mktime(struct tm *);
-extern time_t time(time_t *);
-extern char *asctime(const struct tm *);
-extern char *ctime(const time_t *);
-extern struct tm *gmtime(const time_t *);
-extern struct tm *localtime(const time_t *);
-extern size_t strftime(char *, size_t, const char *, const struct tm *);
-
-#endif /* __TIME */
+#ifndef __TIME +#define __TIME + +#define CLOCKS_PER_SEC 1000000 +#ifndef NULL +#define NULL 0 +#endif + +#if !defined(_CLOCK_T) && !defined(_CLOCK_T_) +#define _CLOCK_T +#define _CLOCK_T_ +typedef long clock_t; +#endif + +#if !defined(_TIME_T) && !defined(_TIME_T_) +#define _TIME_T +#define _TIME_T_ +typedef long time_t; +#endif + +#if !defined(_SIZE_T) && !defined(_SIZE_T_) +#define _SIZE_T +#define _SIZE_T_ +typedef unsigned long size_t; +#endif + +struct tm { + int tm_sec; + int tm_min; + int tm_hour; + int tm_mday; + int tm_mon; + int tm_year; + int tm_wday; + int tm_yday; + int tm_isdst; +}; +extern clock_t clock(void); +extern double difftime(time_t, time_t); +extern time_t mktime(struct tm *); +extern time_t time(time_t *); +extern char *asctime(const struct tm *); +extern char *ctime(const time_t *); +extern struct tm *gmtime(const time_t *); +extern struct tm *localtime(const time_t *); +extern size_t strftime(char *, size_t, const char *, const struct tm *); + +#endif /* __TIME */ |