[PATCH] Fix warning
Jakub Jelinek
jakub@redhat.com
Thu Oct 3 05:26:00 GMT 2002
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
More information about the Libc-hacker
mailing list