From 66b3d19800bf84dec3aaa2112de9b0e8b98dd9c9 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 10 May 2004 04:49:53 +0000 Subject: Update. 2004-05-09 Ulrich Drepper * sysdeps/generic/sigpause.c: Prevent sigpause prototype. * sysdeps/posix/sigpause.c: Likewise. * signal/signal.h: Don't define sigpause macro unless needed. --- sysdeps/generic/sigpause.c | 4 +++- sysdeps/posix/sigpause.c | 5 ++++- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'sysdeps') diff --git a/sysdeps/generic/sigpause.c b/sysdeps/generic/sigpause.c index 8f63b87..bc598d0 100644 --- a/sysdeps/generic/sigpause.c +++ b/sysdeps/generic/sigpause.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991,95,96,2000,02 Free Software Foundation, Inc. +/* Copyright (C) 1991,95,96,2000,02,2004 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -16,8 +16,10 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ +#define sigpause __rename_sigpause #include #include +#undef sigpause int __sigpause (sig_or_mask, is_sig) diff --git a/sysdeps/posix/sigpause.c b/sysdeps/posix/sigpause.c index 98b69d3..5ea1b11 100644 --- a/sysdeps/posix/sigpause.c +++ b/sysdeps/posix/sigpause.c @@ -1,4 +1,5 @@ -/* Copyright (C) 1991,92,94-98,2000,2002,2003 Free Software Foundation, Inc. +/* Copyright (C) 1991,92,94-98,2000,2002,2003,2004 + Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -16,10 +17,12 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ +#define sigpause __rename_sigpause #include #include #include /* For NULL. */ #include +#undef sigpause #include -- cgit v1.1