path: root/include/time.h
diff options
authorWarner Losh <imp@FreeBSD.org>2002-03-23 17:24:55 +0000
committerWarner Losh <imp@FreeBSD.org>2002-03-23 17:24:55 +0000
commitbb28f3c29b4c91af1b0e79e456294bb08735648a (patch)
treeb4ea687a7ecac173665d9f3a8a858a98631f494e /include/time.h
parent194788fafcb927f0affa1a56e21a1e8373f81f9c (diff)
Breath deep and take __P out of the system include files.
# This appears to not break X11, but I'm having problems compiling the # glide part of the server with or without this patch, so I can't tell # for sure.
Notes: svn path=/head/; revision=93032
Diffstat (limited to 'include/time.h')
1 files changed, 31 insertions, 31 deletions
diff --git a/include/time.h b/include/time.h
index a5012a81a731..bdf037268d9a 100644
--- a/include/time.h
+++ b/include/time.h
@@ -125,49 +125,49 @@ extern char *tzname[];
-char *asctime __P((const struct tm *));
-clock_t clock __P((void));
-char *ctime __P((const time_t *));
-double difftime __P((time_t, time_t));
-struct tm *gmtime __P((const time_t *));
-struct tm *localtime __P((const time_t *));
-time_t mktime __P((struct tm *));
-size_t strftime __P((char *, size_t, const char *, const struct tm *));
-time_t time __P((time_t *));
+char *asctime(const struct tm *);
+clock_t clock(void);
+char *ctime(const time_t *);
+double difftime(time_t, time_t);
+struct tm *gmtime(const time_t *);
+struct tm *localtime(const time_t *);
+time_t mktime(struct tm *);
+size_t strftime(char *, size_t, const char *, const struct tm *);
+time_t time(time_t *);
#ifndef _ANSI_SOURCE
-time_t _time32_to_time __P((__int32_t t32));
-__int32_t _time_to_time32 __P((time_t t));
-time_t _time64_to_time __P((__int64_t t64));
-__int64_t _time_to_time64 __P((time_t t));
-long _time_to_long __P((time_t t));
-time_t _long_to_time __P((long tlong));
-int _time_to_int __P((time_t t));
-time_t _int_to_time __P((int tint));
+time_t _time32_to_time(__int32_t t32);
+__int32_t _time_to_time32(time_t t);
+time_t _time64_to_time(__int64_t t64);
+__int64_t _time_to_time64(time_t t);
+long _time_to_long(time_t t);
+time_t _long_to_time(long tlong);
+int _time_to_int(time_t t);
+time_t _int_to_time(int tint);
#endif /* not ANSI */
#ifndef _ANSI_SOURCE
-void tzset __P((void));
+void tzset(void);
#endif /* not ANSI */
#if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)
-char *asctime_r __P((const struct tm *, char *));
-char *ctime_r __P((const time_t *, char *));
-struct tm *gmtime_r __P((const time_t *, struct tm *));
-struct tm *localtime_r __P((const time_t *, struct tm *));
-char *strptime __P((const char *, const char *, struct tm *));
-char *timezone __P((int, int));
-void tzsetwall __P((void));
-time_t timelocal __P((struct tm * const));
-time_t timegm __P((struct tm * const));
+char *asctime_r(const struct tm *, char *);
+char *ctime_r(const time_t *, char *);
+struct tm *gmtime_r(const time_t *, struct tm *);
+struct tm *localtime_r(const time_t *, struct tm *);
+char *strptime(const char *, const char *, struct tm *);
+char *timezone(int, int);
+void tzsetwall(void);
+time_t timelocal(struct tm * const);
+time_t timegm(struct tm * const);
#endif /* neither ANSI nor POSIX */
#if !defined(_ANSI_SOURCE) && defined(_P1003_1B_VISIBLE_HISTORICALLY)
/* Introduced in POSIX 1003.1b-1993, not part of 1003.1-1990. */
-int clock_getres __P((clockid_t, struct timespec *));
-int clock_gettime __P((clockid_t, struct timespec *));
-int clock_settime __P((clockid_t, const struct timespec *));
-int nanosleep __P((const struct timespec *, struct timespec *));
+int clock_getres(clockid_t, struct timespec *);
+int clock_gettime(clockid_t, struct timespec *);
+int clock_settime(clockid_t, const struct timespec *);
+int nanosleep(const struct timespec *, struct timespec *);
#endif /* neither ANSI nor POSIX */