Browse Source

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>
Peter S. Mazinger 14 years ago
parent
commit
4e171958a1
1 changed files with 2 additions and 2 deletions
  1. 2 2
      libc/sysdeps/linux/common/pause.c

+ 2 - 2
libc/sysdeps/linux/common/pause.c

@@ -7,8 +7,8 @@
  * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  * 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>
 #include <unistd.h>
 
 
 #ifdef __UCLIBC_HAS_THREADS_NATIVE__
 #ifdef __UCLIBC_HAS_THREADS_NATIVE__