public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a64b9a0
)
time.h: clock should return clock_t
author
Alan Cox
<alan@linux.intel.com>
Fri, 2 Jan 2015 10:22:57 +0000
(10:22 +0000)
committer
Alan Cox
<alan@linux.intel.com>
Fri, 2 Jan 2015 10:22:57 +0000
(10:22 +0000)
From: Sergio L. Pascual <https://github.com/slp/FUZIX>
Library/include/time.h
patch
|
blob
|
history
diff --git
a/Library/include/time.h
b/Library/include/time.h
index
8579808
..
0c9a24e
100644
(file)
--- a/
Library/include/time.h
+++ b/
Library/include/time.h
@@
-6,11
+6,6
@@
#include <stddef.h>
#include <syscalls.h>
-#ifndef CLOCK_T
-#define CLOCK_T
-typedef long clock_t;
-#endif
-
struct tm {
int tm_sec;
int tm_min;
@@
-35,7
+30,7
@@
extern char *tzname[2];
extern int daylight;
extern long timezone;
-extern
long
clock __P ((void));
+extern
clock_t
clock __P ((void));
extern time_t mktime __P ((struct tm * __tp));
extern double difftime __P ((time_t *__time2, time_t *__time1));