* [PATCH] Fix warning
@ 2002-10-03 5:26 Jakub Jelinek
2002-10-03 9:17 ` Ulrich Drepper
0 siblings, 1 reply; 2+ messages in thread
From: Jakub Jelinek @ 2002-10-03 5:26 UTC (permalink / raw)
To: Ulrich Drepper, Roland McGrath; +Cc: Glibc hackers
Hi!
Shut up warning on IA-64 and Alpha at least.
2002-10-03 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/_exit.c (__syscall_exit,
__syscall_exit_group): New prototypes.
(_exit): Convert from K&R syntax.
--- libc/sysdeps/unix/sysv/linux/_exit.c.jj 2002-09-20 08:48:25.000000000 +0200
+++ libc/sysdeps/unix/sysv/linux/_exit.c 2002-10-03 14:23:22.000000000 +0200
@@ -22,10 +22,11 @@
#include <sysdep.h>
#include <abort-instr.h>
+extern void __syscall_exit_group (int status);
+extern void __syscall_exit (int status);
void
-_exit (status)
- int status;
+_exit (int status)
{
while (1)
{
Jakub
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Fix warning
2002-10-03 5:26 [PATCH] Fix warning Jakub Jelinek
@ 2002-10-03 9:17 ` Ulrich Drepper
0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Drepper @ 2002-10-03 9:17 UTC (permalink / raw)
To: Jakub Jelinek; +Cc: Roland McGrath, Glibc hackers
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jakub Jelinek wrote:
> void
> -_exit (status)
> - int status;
> +_exit (int status)
Why this? Should not be necessary.
- --
- --------------. ,-. 444 Castro Street
Ulrich Drepper \ ,-----------------' \ Mountain View, CA 94041 USA
Red Hat `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE9nG3c2ijCOnn/RHQRAnlTAJ4sx9jWdROQLtLWffxIadjT/RxX4QCeNQsQ
jqdskhQDkCXH7R4rO0J6QTg=
=Cbr3
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-10-03 16:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-03 5:26 [PATCH] Fix warning Jakub Jelinek
2002-10-03 9:17 ` Ulrich Drepper
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).