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] |
Ulrich Drepper <drepper@redhat.com> writes: |> Andreas Schwab <schwab@suse.de> writes: |> |> > 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. |> |> The patch is not correct. First, __timezone_ptr_t is already a |> pointer, you added another *. Second, making the pointer const does |> not work. |> |> I've made the definition and the prototype now available under |> __USE_BSD. I think this is correct. If not let me know. You are right, thanks. Andreas. -- 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] |