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]
Other format: [Raw text]

[PATCH] Fix warning


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]