summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-04-16 02:25:53 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:38 +0200
commit4e171958a17424ca70408ec92a5ca749c09f9b1e (patch)
tree3dfe79688bb3ffd6412d4f82ff83839d812f1319 /libc/sysdeps/linux/common
parent6507c3b84df2758ddcc44d6e761bb50a21120776 (diff)
pause.c: no need for __UCLIBC_HIDE_DEPRECATED__, the code does not use old functions
Remove syscall.h as well, not needed anymore. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/common')
-rw-r--r--libc/sysdeps/linux/common/pause.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/pause.c b/libc/sysdeps/linux/common/pause.c
index ab16fa73c..a77c4d581 100644
--- a/libc/sysdeps/linux/common/pause.c
+++ b/libc/sysdeps/linux/common/pause.c
@@ -7,8 +7,8 @@
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
-#define __UCLIBC_HIDE_DEPRECATED__
-#include <sys/syscall.h>
+#define __need_NULL
+#include <stddef.h>
#include <unistd.h>
#ifdef __UCLIBC_HAS_THREADS_NATIVE__