소스 검색

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 년 전
부모
커밋
4e171958a1
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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__
+#define __need_NULL
-#include <sys/syscall.h>
+#include <stddef.h>
 #include <unistd.h>
 #include <unistd.h>
 
 
 #ifdef __UCLIBC_HAS_THREADS_NATIVE__
 #ifdef __UCLIBC_HAS_THREADS_NATIVE__