aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2004-08-03 21:07:05 +0000
committerH. Peter Anvin <hpa@zytor.com>2004-08-03 21:07:05 +0000
commite208b38334c505cc0acdf13c8b83a1c620da2108 (patch)
treea582e86a2efda316466164e0f589bac5465f3245
parent383dd54236c490d510d511c12a835eb4581028fa (diff)
downloadklibc-e208b38334c505cc0acdf13c8b83a1c620da2108.tar.gz
Move strtotime*() prototypes to <time.h>klibc-0.157
-rw-r--r--include/sys/time.h4
-rw-r--r--include/time.h4
-rw-r--r--klibc/include/sys/time.h4
-rw-r--r--klibc/include/time.h4
4 files changed, 8 insertions, 8 deletions
diff --git a/include/sys/time.h b/include/sys/time.h
index 6d072d706f7b6..2767a1bce3f11 100644
--- a/include/sys/time.h
+++ b/include/sys/time.h
@@ -15,8 +15,4 @@ __extern int getitimer(int, struct itimerval *);
__extern int setitimer(int, const struct itimerval *, struct itimerval *);
__extern int utimes(const char *, const struct timeval *);
-/* klibc-specific but useful since we don't have floating point */
-__extern char *strtotimeval(const char *str, struct timeval *tv);
-__extern char *strtotimespec(const char *str, struct timespec *tv);
-
#endif /* _SYS_TIME_H */
diff --git a/include/time.h b/include/time.h
index c69c231ec8ad6..0f094c2806c2b 100644
--- a/include/time.h
+++ b/include/time.h
@@ -11,4 +11,8 @@
__extern time_t time(time_t *);
__extern int nanosleep(const struct timespec *, struct timespec *);
+/* klibc-specific but useful since we don't have floating point */
+__extern char *strtotimeval(const char *str, struct timeval *tv);
+__extern char *strtotimespec(const char *str, struct timespec *tv);
+
#endif /* _TIME_H */
diff --git a/klibc/include/sys/time.h b/klibc/include/sys/time.h
index 6d072d706f7b6..2767a1bce3f11 100644
--- a/klibc/include/sys/time.h
+++ b/klibc/include/sys/time.h
@@ -15,8 +15,4 @@ __extern int getitimer(int, struct itimerval *);
__extern int setitimer(int, const struct itimerval *, struct itimerval *);
__extern int utimes(const char *, const struct timeval *);
-/* klibc-specific but useful since we don't have floating point */
-__extern char *strtotimeval(const char *str, struct timeval *tv);
-__extern char *strtotimespec(const char *str, struct timespec *tv);
-
#endif /* _SYS_TIME_H */
diff --git a/klibc/include/time.h b/klibc/include/time.h
index c69c231ec8ad6..0f094c2806c2b 100644
--- a/klibc/include/time.h
+++ b/klibc/include/time.h
@@ -11,4 +11,8 @@
__extern time_t time(time_t *);
__extern int nanosleep(const struct timespec *, struct timespec *);
+/* klibc-specific but useful since we don't have floating point */
+__extern char *strtotimeval(const char *str, struct timeval *tv);
+__extern char *strtotimespec(const char *str, struct timespec *tv);
+
#endif /* _TIME_H */