[PATCH] Warning fixes
Jakub Jelinek
jakub@redhat.com
Tue Jan 14 00:12:00 GMT 2003
Hi!
INLINE_SYSCALL is already defined in sysdeps/unix/sysdep.h, so needs to be
undefined first to avoid warnings.
Similarly, JUMPTARGET is now defined in sysdeps/generic/sysdep.h, so there
is no need to define it again in vfork.S.
2003-01-14 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL): Undefined before
defining.
linuxthreads/
* sysdeps/unix/sysv/linux/ia64/vfork.S (JUMPTARGET): Remove.
--- libc/linuxthreads/sysdeps/unix/sysv/linux/ia64/vfork.S.jj 2003-01-09 21:27:42.000000000 +0100
+++ libc/linuxthreads/sysdeps/unix/sysv/linux/ia64/vfork.S 2003-01-14 01:07:52.000000000 +0100
@@ -21,8 +21,6 @@
#define _SIGNAL_H
#include <bits/signum.h>
-#define JUMPTARGET(name) name
-
/* The following are defined in linux/sched.h, which unfortunately */
/* is not safe for inclusion in an assembly file. */
#define CLONE_VM 0x00000100 /* set if VM shared between processes */
--- libc/sysdeps/unix/alpha/sysdep.h.jj 2003-01-13 13:57:37.000000000 +0100
+++ libc/sysdeps/unix/alpha/sysdep.h 2003-01-14 01:06:45.000000000 +0100
@@ -129,6 +129,7 @@ $syscall_error: \
/* ??? Linux needs to be able to override INLINE_SYSCALL for one
particular special case. Make this easy. */
+#undef INLINE_SYSCALL
#define INLINE_SYSCALL(name, nr, args...) \
INLINE_SYSCALL1(name, nr, args)
Jakub
More information about the Libc-hacker
mailing list