OSDN Git Service

pause.c: no need for __UCLIBC_HIDE_DEPRECATED__, the code does not use old functions
authorPeter S. Mazinger <ps.m@gmx.net>
Sat, 16 Apr 2011 00:25:53 +0000 (02:25 +0200)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 15 Jun 2012 12:00:38 +0000 (14:00 +0200)
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>
libc/sysdeps/linux/common/pause.c

index ab16fa7..a77c4d5 100644 (file)
@@ -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__