about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
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 8f63b87003..bc598d070c 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 98b69d3c98..5ea1b114d3 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>