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 năm trước cách đây
mục cha
commit
4e171958a1
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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.
  */
 
-#define __UCLIBC_HIDE_DEPRECATED__
-#include <sys/syscall.h>
+#define __need_NULL
+#include <stddef.h>
 #include <unistd.h>
 
 #ifdef __UCLIBC_HAS_THREADS_NATIVE__