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] |
I now get these warnings: ../sysdeps/unix/clock_settime.c:50: warning: implicit declaration of function `__get_clockfreq' ../linuxthreads/sysdeps/i386/i586/ptclock_gettime.c:27: warning: no previous prototype for `__pthread_clock_gettime' The first is fixed with the appended patch that I've just committed. But what's the best way to fix the second? __pthread_clock_gettime is used only as weak declaration in sysdeps/unix/i386/i586/clock_gettime.c. Andreas 2001-04-21 Andreas Jaeger <aj@suse.de> * sysdeps/unix/i386/i586/clock_settime.c: Include "libc-internal.h" for __get_clockfreq declaration. ============================================================ Index: sysdeps/unix/i386/i586/clock_settime.c --- sysdeps/unix/i386/i586/clock_settime.c 2001/04/21 07:43:02 1.1 +++ sysdeps/unix/i386/i586/clock_settime.c 2001/04/21 16:20:15 @@ -19,7 +19,7 @@ #include <time.h> #include "cpuclock-init.h" - +#include "libc-internal.h" /* This implementation uses the TSC register in modern (i586 and up) IA-32 processors (most modern clones also provide it). Since we need the -- Andreas Jaeger SuSE Labs aj@suse.de private aj@arthur.inka.de http://www.suse.de/~aj
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |