about summary refs log tree commit diff
path: root/sysdeps/posix/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/posix/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/posix/sigpause.c')
-rw-r--r--sysdeps/posix/sigpause.c5
1 files changed, 4 insertions, 1 deletions
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>