summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2003-12-06 23:22:05 +0000
committerBjörn Stenberg <bjorn@haxx.se>2003-12-06 23:22:05 +0000
commit12e237a3f16600ee4ea647f082d8b6971c245d7f (patch)
tree059c5a333378905fd90e0aede5106a4eac3001cf /firmware
parent39abcc8399dd9e5f93cd13b33be5ff8338a5010a (diff)
downloadrockbox-12e237a3f16600ee4ea647f082d8b6971c245d7f.tar.gz
rockbox-12e237a3f16600ee4ea647f082d8b6971c245d7f.zip
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.h26
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_ */