From c444a965e2d60c5a7de046aa3a279dc0f5bd117b Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Mon, 13 Feb 2006 08:45:53 +0000 Subject: Mark some as GNU extensions --- libc/sysdeps/linux/common/getresgid.c | 2 ++ libc/sysdeps/linux/common/getresuid.c | 2 ++ libc/sysdeps/linux/common/setresgid.c | 2 ++ libc/sysdeps/linux/common/setresuid.c | 2 ++ 4 files changed, 8 insertions(+) diff --git a/libc/sysdeps/linux/common/getresgid.c b/libc/sysdeps/linux/common/getresgid.c index 158a8984f..bc19b97ea 100644 --- a/libc/sysdeps/linux/common/getresgid.c +++ b/libc/sysdeps/linux/common/getresgid.c @@ -8,6 +8,7 @@ */ #include "syscalls.h" +#ifdef __USE_GNU #include #if defined(__NR_getresgid32) @@ -34,3 +35,4 @@ int getresgid(gid_t * rgid, gid_t * egid, gid_t * sgid) return result; } #endif +#endif diff --git a/libc/sysdeps/linux/common/getresuid.c b/libc/sysdeps/linux/common/getresuid.c index 7f0e0f2b0..b8d1788f6 100644 --- a/libc/sysdeps/linux/common/getresuid.c +++ b/libc/sysdeps/linux/common/getresuid.c @@ -8,6 +8,7 @@ */ #include "syscalls.h" +#ifdef __USE_GNU #include #if defined(__NR_getresuid32) @@ -34,3 +35,4 @@ int getresuid(uid_t * ruid, uid_t * euid, uid_t * suid) return result; } #endif +#endif diff --git a/libc/sysdeps/linux/common/setresgid.c b/libc/sysdeps/linux/common/setresgid.c index 51bc5e2a8..07959e4af 100644 --- a/libc/sysdeps/linux/common/setresgid.c +++ b/libc/sysdeps/linux/common/setresgid.c @@ -8,6 +8,7 @@ */ #include "syscalls.h" +#ifdef __USE_GNU #include libc_hidden_proto(setresgid) @@ -35,3 +36,4 @@ int setresgid(gid_t rgid, gid_t egid, gid_t sgid) #endif libc_hidden_def(setresgid) +#endif diff --git a/libc/sysdeps/linux/common/setresuid.c b/libc/sysdeps/linux/common/setresuid.c index 2d8122349..1249611a9 100644 --- a/libc/sysdeps/linux/common/setresuid.c +++ b/libc/sysdeps/linux/common/setresuid.c @@ -8,6 +8,7 @@ */ #include "syscalls.h" +#ifdef __USE_GNU #include libc_hidden_proto(setresuid) @@ -35,3 +36,4 @@ int setresuid(uid_t ruid, uid_t euid, uid_t suid) #endif libc_hidden_def(setresuid) +#endif -- cgit v1.2.3