summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-20 23:00:55 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-20 23:00:55 +0000
commit70d37cb4afa78201a9ec23df6792c64f4078c5a8 (patch)
treed801ee5cd5e021fee83b05321c68d47d4a34c545 /libc
parent1ad608ee1614eb90e4236a39595be4f28c9c2901 (diff)
disable deprecated warnings for some files
Diffstat (limited to 'libc')
-rw-r--r--libc/inet/rpc/rcmd.c1
-rw-r--r--libc/signal/sigblock.c1
-rw-r--r--libc/signal/siggetmask.c1
-rw-r--r--libc/signal/sigpause.c1
-rw-r--r--libc/signal/sigsetmask.c1
-rw-r--r--libc/sysdeps/linux/common/pause.c1
6 files changed, 6 insertions, 0 deletions
diff --git a/libc/inet/rpc/rcmd.c b/libc/inet/rpc/rcmd.c
index 728f301ea..df824f30d 100644
--- a/libc/inet/rpc/rcmd.c
+++ b/libc/inet/rpc/rcmd.c
@@ -35,6 +35,7 @@
static char sccsid[] = "@(#)rcmd.c 8.3 (Berkeley) 3/26/94";
#endif /* LIBC_SCCS and not lint */
+#define __UCLIBC_HIDE_DEPRECATED__
#define __FORCE_GLIBC
#include <features.h>
diff --git a/libc/signal/sigblock.c b/libc/signal/sigblock.c
index 63156804a..1f1a9fe98 100644
--- a/libc/signal/sigblock.c
+++ b/libc/signal/sigblock.c
@@ -16,6 +16,7 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
+#define __UCLIBC_HIDE_DEPRECATED__
#include <errno.h>
#include <signal.h>
diff --git a/libc/signal/siggetmask.c b/libc/signal/siggetmask.c
index 8b6db202d..d3af43a12 100644
--- a/libc/signal/siggetmask.c
+++ b/libc/signal/siggetmask.c
@@ -17,6 +17,7 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
+#define __UCLIBC_HIDE_DEPRECATED__
#include <signal.h>
libc_hidden_proto(sigblock)
diff --git a/libc/signal/sigpause.c b/libc/signal/sigpause.c
index 9f7fb0e76..f7efa692e 100644
--- a/libc/signal/sigpause.c
+++ b/libc/signal/sigpause.c
@@ -17,6 +17,7 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
+#define __UCLIBC_HIDE_DEPRECATED__
#define _BSD_SOURCE
#include <errno.h>
#include <signal.h>
diff --git a/libc/signal/sigsetmask.c b/libc/signal/sigsetmask.c
index e524aa108..2c074674d 100644
--- a/libc/signal/sigsetmask.c
+++ b/libc/signal/sigsetmask.c
@@ -16,6 +16,7 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
+#define __UCLIBC_HIDE_DEPRECATED__
#include <errno.h>
#include <signal.h>
diff --git a/libc/sysdeps/linux/common/pause.c b/libc/sysdeps/linux/common/pause.c
index f26dbe664..26fd72bf8 100644
--- a/libc/sysdeps/linux/common/pause.c
+++ b/libc/sysdeps/linux/common/pause.c
@@ -7,6 +7,7 @@
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
+#define __UCLIBC_HIDE_DEPRECATED__
#include "syscalls.h"
#include <unistd.h>