warnings question
Andreas Jaeger
aj@suse.de
Sat Mar 16 02:34:00 GMT 2002
I now get lots of warnings like:
In file included from ../linuxthreads/sysdeps/i386/tls.h:25,
from version.c:20:
../linuxthreads/sysdeps/i386/i686/pt-machine.h:38: warning: no previous prototype for `testandset'
../linuxthreads/sysdeps/i386/i686/pt-machine.h:56: warning: no previous prototype for `__compare_and_swap'
The prototypes for testandset and __compare_and_swap live in
linuxthreads/internals.h and we don't want to include that header in
tls.h.
What's the best way to add the prototypes?
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj
More information about the Libc-hacker
mailing list