summaryrefslogtreecommitdiff
path: root/time/sys
diff options
context:
space:
mode:
Diffstat (limited to 'time/sys')
-rw-r--r--time/sys/time.h25
-rw-r--r--time/sys/timeb.h4
2 files changed, 14 insertions, 15 deletions
diff --git a/time/sys/time.h b/time/sys/time.h
index 83be23fb47..92b21cdd7f 100644
--- a/time/sys/time.h
+++ b/time/sys/time.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 92, 93, 94, 96, 97, 98 Free Software Foundation, Inc.
+/* Copyright (C) 1991,92,93,94,96,97,98,99 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -54,20 +54,19 @@ struct timezone
Returns 0 on success, -1 on errors.
NOTE: This form of timezone information is obsolete.
Use the functions and variables declared in <time.h> instead. */
-extern int gettimeofday __P ((struct timeval *__tv,
- struct timezone *__tz));
+extern int gettimeofday (struct timeval *__tv, struct timezone *__tz) __THROW;
/* Set the current time of day and timezone information.
This call is restricted to the super-user. */
-extern int settimeofday __P ((__const struct timeval *__tv,
- __const struct timezone *__tz));
+extern int settimeofday (__const struct timeval *__tv,
+ __const struct timezone *__tz) __THROW;
/* Adjust the current time of day by the amount in DELTA.
If OLDDELTA is not NULL, it is filled in with the amount
of time adjustment remaining to be done from the last `adjtime' call.
This call is restricted to the super-user. */
-extern int adjtime __P ((__const struct timeval *__delta,
- struct timeval *__olddelta));
+extern int adjtime (__const struct timeval *__delta,
+ struct timeval *__olddelta) __THROW;
/* Values for the first argument to `getitimer' and `setitimer'. */
@@ -97,19 +96,19 @@ struct itimerval
/* Set *VALUE to the current setting of timer WHICH.
Return 0 on success, -1 on errors. */
-extern int getitimer __P ((enum __itimer_which __which,
- struct itimerval *__value));
+extern int getitimer (enum __itimer_which __which,
+ struct itimerval *__value) __THROW;
/* Set the timer WHICH to *NEW. If OLD is not NULL,
set *OLD to the old value of timer WHICH.
Returns 0 on success, -1 on errors. */
-extern int setitimer __P ((enum __itimer_which __which,
- __const struct itimerval *__new,
- struct itimerval *__old));
+extern int setitimer (enum __itimer_which __which,
+ __const struct itimerval *__new,
+ struct itimerval *__old) __THROW;
/* Change the access time of FILE to TVP[0] and
the modification time of FILE to TVP[1]. */
-extern int utimes __P ((__const char *__file, struct timeval __tvp[2]));
+extern int utimes (__const char *__file, struct timeval __tvp[2]) __THROW;
/* Convenience macros for operations on timevals.
diff --git a/time/sys/timeb.h b/time/sys/timeb.h
index 9959f92979..ae32afd2a2 100644
--- a/time/sys/timeb.h
+++ b/time/sys/timeb.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1995, 1996, 1999 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -39,7 +39,7 @@ struct timeb
/* Fill in TIMEBUF with information about the current time. */
-extern int ftime __P ((struct timeb *__timebuf));
+extern int ftime (struct timeb *__timebuf);
__END_DECLS