diff options
author | Björn Stenberg <bjorn@haxx.se> | 2003-12-06 23:22:05 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2003-12-06 23:22:05 +0000 |
commit | 12e237a3f16600ee4ea647f082d8b6971c245d7f (patch) | |
tree | 059c5a333378905fd90e0aede5106a4eac3001cf /firmware | |
parent | 39abcc8399dd9e5f93cd13b33be5ff8338a5010a (diff) |
Cleanup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4112 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/include/time.h | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/firmware/include/time.h b/firmware/include/time.h index e3517e725b..5213468662 100644 --- a/firmware/include/time.h +++ b/firmware/include/time.h @@ -1,33 +1,12 @@ /* * time.h * - * Struct and function declarations for dealing with time. + * Struct declaration for dealing with time. */ #ifndef _TIME_H_ #define _TIME_H_ -#include "_ansi.h" - -#ifdef __cplusplus -extern "C" { -#endif - -#ifndef NULL -#define NULL 0 -#endif - -#ifndef _CLOCKS_PER_SEC_ -#define _CLOCKS_PER_SEC_ 1000 -#endif - -#define CLOCKS_PER_SEC _CLOCKS_PER_SEC_ -#define CLK_TCK CLOCKS_PER_SEC -#define __need_size_t -#include <stddef.h> - -#include <sys/types.h> - struct tm { int tm_sec; @@ -41,8 +20,5 @@ struct tm int tm_isdst; }; -#ifdef __cplusplus -} -#endif #endif /* _TIME_H_ */ |