summaryrefslogtreecommitdiff
path: root/firmware/include/time.h
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/include/time.h
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/include/time.h')
-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 @@
1/* 1/*
2 * time.h 2 * time.h
3 * 3 *
4 * Struct and function declarations for dealing with time. 4 * Struct declaration for dealing with time.
5 */ 5 */
6 6
7#ifndef _TIME_H_ 7#ifndef _TIME_H_
8#define _TIME_H_ 8#define _TIME_H_
9 9
10#include "_ansi.h"
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
16#ifndef NULL
17#define NULL 0
18#endif
19
20#ifndef _CLOCKS_PER_SEC_
21#define _CLOCKS_PER_SEC_ 1000
22#endif
23
24#define CLOCKS_PER_SEC _CLOCKS_PER_SEC_
25#define CLK_TCK CLOCKS_PER_SEC
26#define __need_size_t
27#include <stddef.h>
28
29#include <sys/types.h>
30
31struct tm 10struct tm
32{ 11{
33 int tm_sec; 12 int tm_sec;
@@ -41,8 +20,5 @@ struct tm
41 int tm_isdst; 20 int tm_isdst;
42}; 21};
43 22
44#ifdef __cplusplus
45}
46#endif
47#endif /* _TIME_H_ */ 23#endif /* _TIME_H_ */
48 24