This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
When compiling with _SVID_SOURCE we get a warning in <sys/time.h> about
struct timezone declared inside parameter list. Either we should make the
definition of struct timezone __USE_MISC or use __timezone_ptr_t in the
declaration of settimeofday. The patch implements the latter.
Andreas.
2001-02-14 Andreas Schwab <schwab@suse.de>
* time/sys/time.h: Use __timezone_ptr_t in declaration of
settimeofday.
--- time/sys/time.h.~1.29.~ Mon Jan 29 10:45:46 2001
+++ time/sys/time.h Wed Feb 14 16:18:33 2001
@@ -76,7 +76,7 @@
/* Set the current time of day and timezone information.
This call is restricted to the super-user. */
extern int settimeofday (__const struct timeval *__tv,
- __const struct timezone *__tz) __THROW;
+ __const __timezone_ptr_t *__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
--
Andreas Schwab "And now for something
SuSE Labs completely different."
Andreas.Schwab@suse.de
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |