[klibc] [PATCH] sys/times.h
Erik van Konijnenburg
ekonijn at xs4all.nl
Wed Mar 2 15:11:04 PST 2005
This patch addresses three issues:
- need extern.h because of __extern.
- need sys/types for clock_t
- two functions are also included in <sys/time.h>;
my (debian) manual pages confirm that's the canonical location.
Regards,
Erik
diff -urN klibc-0.202-pristine/include/sys/times.h klibc-0.202/include/sys/times.h
--- klibc-0.202-pristine/include/sys/times.h 2002-08-06 01:03:09.000000000 +0200
+++ klibc-0.202/include/sys/times.h 2005-03-02 21:02:28.000000000 +0100
@@ -5,10 +5,10 @@
#ifndef _SYS_TIMES_H
#define _SYS_TIMES_H
+#include <klibc/extern.h>
+#include <sys/types.h>
#include <linux/times.h>
__extern clock_t times(struct tms *);
-__extern int gettimeofday(struct timeval *, struct timezone *);
-__extern int settimeofday(const struct timeval *, const struct timezone *);
#endif /* _SYS_TIMES_H */
More information about the klibc
mailing list