This is the mail archive of the libc-hacker@sourceware.cygnus.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] |
With the current CVS code I get: condvar.c:197: warning: passing arg 1 of `__libc_nanosleep' from incompatible pointer type condvar.c:340: warning: passing arg 1 of `__libc_nanosleep' from incompatible pointer type A patch is appended. The patch is needed for glibc 2.2 only. 2000-02-13 Andreas Jaeger <aj@suse.de> * condvar.c (pthread_cond_timedwait_relative_new): Fix last patch. (pthread_cond_timedwait_relative_old): Likewise. --- linuxthreads/condvar.c.~1~ Sun Feb 13 12:04:11 2000 +++ linuxthreads/condvar.c Sun Feb 13 13:22:35 2000 @@ -194,7 +194,7 @@ ; #else /* Sleep for the required duration */ - retsleep = __libc_nanosleep(&reltime, NULL); + retsleep = __libc_nanosleep(reltime, NULL); #endif /* Block the restart signal again */ sigprocmask(SIG_SETMASK, &initial_mask, NULL); @@ -337,7 +337,7 @@ ; #else /* Sleep for the required duration */ - retsleep = __libc_nanosleep(&reltime, NULL); + retsleep = __libc_nanosleep(reltime, NULL); #endif /* Block the restart signal again */ sigprocmask(SIG_SETMASK, &initial_mask, NULL); -- Andreas Jaeger SuSE Labs aj@suse.de private aj@arthur.rhein-neckar.de
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |