svn commit: trunk/uClibc/libc/sysdeps/linux/common

psm at uclibc.org psm at uclibc.org
Mon Feb 13 08:45:54 UTC 2006


Author: psm
Date: 2006-02-13 00:45:53 -0800 (Mon, 13 Feb 2006)
New Revision: 13939

Log:
Mark some as GNU extensions

Modified:
   trunk/uClibc/libc/sysdeps/linux/common/getresgid.c
   trunk/uClibc/libc/sysdeps/linux/common/getresuid.c
   trunk/uClibc/libc/sysdeps/linux/common/setresgid.c
   trunk/uClibc/libc/sysdeps/linux/common/setresuid.c


Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/common/getresgid.c
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/getresgid.c	2006-02-13 08:44:48 UTC (rev 13938)
+++ trunk/uClibc/libc/sysdeps/linux/common/getresgid.c	2006-02-13 08:45:53 UTC (rev 13939)
@@ -8,6 +8,7 @@
  */
 
 #include "syscalls.h"
+#ifdef __USE_GNU
 #include <unistd.h>
 
 #if defined(__NR_getresgid32)
@@ -34,3 +35,4 @@
 	return result;
 }
 #endif
+#endif

Modified: trunk/uClibc/libc/sysdeps/linux/common/getresuid.c
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/getresuid.c	2006-02-13 08:44:48 UTC (rev 13938)
+++ trunk/uClibc/libc/sysdeps/linux/common/getresuid.c	2006-02-13 08:45:53 UTC (rev 13939)
@@ -8,6 +8,7 @@
  */
 
 #include "syscalls.h"
+#ifdef __USE_GNU
 #include <unistd.h>
 
 #if defined(__NR_getresuid32)
@@ -34,3 +35,4 @@
 	return result;
 }
 #endif
+#endif

Modified: trunk/uClibc/libc/sysdeps/linux/common/setresgid.c
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/setresgid.c	2006-02-13 08:44:48 UTC (rev 13938)
+++ trunk/uClibc/libc/sysdeps/linux/common/setresgid.c	2006-02-13 08:45:53 UTC (rev 13939)
@@ -8,6 +8,7 @@
  */
 
 #include "syscalls.h"
+#ifdef __USE_GNU
 #include <unistd.h>
 
 libc_hidden_proto(setresgid)
@@ -35,3 +36,4 @@
 #endif
 
 libc_hidden_def(setresgid)
+#endif

Modified: trunk/uClibc/libc/sysdeps/linux/common/setresuid.c
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/setresuid.c	2006-02-13 08:44:48 UTC (rev 13938)
+++ trunk/uClibc/libc/sysdeps/linux/common/setresuid.c	2006-02-13 08:45:53 UTC (rev 13939)
@@ -8,6 +8,7 @@
  */
 
 #include "syscalls.h"
+#ifdef __USE_GNU
 #include <unistd.h>
 
 libc_hidden_proto(setresuid)
@@ -35,3 +36,4 @@
 #endif
 
 libc_hidden_def(setresuid)
+#endif




More information about the uClibc-cvs mailing list