* warnings question
@ 2002-03-16 2:34 Andreas Jaeger
2002-03-16 10:52 ` Ulrich Drepper
0 siblings, 1 reply; 3+ messages in thread
From: Andreas Jaeger @ 2002-03-16 2:34 UTC (permalink / raw)
To: GNU libc hacker
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: warnings question
2002-03-16 2:34 warnings question Andreas Jaeger
@ 2002-03-16 10:52 ` Ulrich Drepper
2002-03-16 11:16 ` Andreas Jaeger
0 siblings, 1 reply; 3+ messages in thread
From: Ulrich Drepper @ 2002-03-16 10:52 UTC (permalink / raw)
To: Andreas Jaeger; +Cc: GNU libc hacker
[-- Attachment #1: Type: text/plain, Size: 356 bytes --]
On Sat, 2002-03-16 at 02:23, Andreas Jaeger wrote:
> What's the best way to add the prototypes?
Move them to pt-machine.h.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: warnings question
2002-03-16 10:52 ` Ulrich Drepper
@ 2002-03-16 11:16 ` Andreas Jaeger
0 siblings, 0 replies; 3+ messages in thread
From: Andreas Jaeger @ 2002-03-16 11:16 UTC (permalink / raw)
To: Ulrich Drepper; +Cc: GNU libc hacker
Ulrich Drepper <drepper@redhat.com> writes:
> On Sat, 2002-03-16 at 02:23, Andreas Jaeger wrote:
>
>> What's the best way to add the prototypes?
>
> Move them to pt-machine.h.
That would mean duplicating them for each architecture - I hoped that
somebody had a better solution.
I'll send a patch tomorrow,
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-03-16 19:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-16 2:34 warnings question Andreas Jaeger
2002-03-16 10:52 ` Ulrich Drepper
2002-03-16 11:16 ` Andreas Jaeger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).