aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-05-10 04:49:53 +0000
committerUlrich Drepper <drepper@redhat.com>2004-05-10 04:49:53 +0000
commit66b3d19800bf84dec3aaa2112de9b0e8b98dd9c9 (patch)
tree13151e3069280d4631d5991c962fa19196ad9b38 /sysdeps
parentcdbf48bed66758a785695faef64d44ef96ffa372 (diff)
downloadglibc-66b3d19800bf84dec3aaa2112de9b0e8b98dd9c9.zip
glibc-66b3d19800bf84dec3aaa2112de9b0e8b98dd9c9.tar.gz
glibc-66b3d19800bf84dec3aaa2112de9b0e8b98dd9c9.tar.bz2
Update.
2004-05-09 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/sigpause.c: Prevent sigpause prototype. * sysdeps/posix/sigpause.c: Likewise. * signal/signal.h: Don't define sigpause macro unless needed.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/sigpause.c4
-rw-r--r--sysdeps/posix/sigpause.c5
2 files changed, 7 insertions, 2 deletions
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 <errno.h>
#include <signal.h>
+#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 <errno.h>
#include <signal.h>
#include <stddef.h> /* For NULL. */
#include <sysdep-cancel.h>
+#undef sigpause
#include <sigset-cvt-mask.h>