From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6046 invoked by alias); 14 Jan 2003 00:12:51 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 5947 invoked from network); 14 Jan 2003 00:12:50 -0000 Received: from unknown (HELO sunsite.mff.cuni.cz) (195.113.19.66) by 209.249.29.67 with SMTP; 14 Jan 2003 00:12:50 -0000 Received: (from jakub@localhost) by sunsite.mff.cuni.cz (8.11.6/8.11.6) id h0E0CZZ15293; Tue, 14 Jan 2003 01:12:35 +0100 Date: Tue, 14 Jan 2003 00:12:00 -0000 From: Jakub Jelinek To: Ulrich Drepper , Roland McGrath Cc: Glibc hackers Subject: [PATCH] Warning fixes Message-ID: <20030114011235.U6196@sunsite.ms.mff.cuni.cz> Reply-To: Jakub Jelinek Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i X-SW-Source: 2003-01/txt/msg00112.txt.bz2 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 * 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 -#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