about summary refs log tree commit diff
path: root/sysdeps/generic/sigpause.c
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/generic/sigpause.c
parentcdbf48bed66758a785695faef64d44ef96ffa372 (diff)
downloadglibc-66b3d19800bf84dec3aaa2112de9b0e8b98dd9c9.tar.gz
glibc-66b3d19800bf84dec3aaa2112de9b0e8b98dd9c9.tar.xz
glibc-66b3d19800bf84dec3aaa2112de9b0e8b98dd9c9.zip
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/generic/sigpause.c')
-rw-r--r--sysdeps/generic/sigpause.c4
1 files changed, 3 insertions, 1 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)