[git commit] pause.c: no need for __UCLIBC_HIDE_DEPRECATED__, the code does not use old functions

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Fri Jun 15 12:00:38 UTC 2012


commit: http://git.uclibc.org/uClibc/commit/?id=4e171958a17424ca70408ec92a5ca749c09f9b1e
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

Remove syscall.h as well, not needed anymore.

Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 libc/sysdeps/linux/common/pause.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libc/sysdeps/linux/common/pause.c b/libc/sysdeps/linux/common/pause.c
index ab16fa7..a77c4d5 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__


More information about the uClibc-cvs mailing list