summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-12-22 20:18:56 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-12-22 20:18:56 +0000
commit0c23badf50ad9726bbc41c5f7c2a5dd7cb25e684 (patch)
treef8c65f319a67ca37677f91f988ae0b0920759638 /libc/sysdeps/linux/common
parent504302d0ddb9449c4c2c2ac17f8c017aa32dbff9 (diff)
- mark capset() as linux specific
Diffstat (limited to 'libc/sysdeps/linux/common')
-rw-r--r--libc/sysdeps/linux/common/Makefile.in2
-rw-r--r--libc/sysdeps/linux/common/capset.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/Makefile.in b/libc/sysdeps/linux/common/Makefile.in
index 2fab0ce7d..5ca3b2c3e 100644
--- a/libc/sysdeps/linux/common/Makefile.in
+++ b/libc/sysdeps/linux/common/Makefile.in
@@ -30,7 +30,7 @@ endif
ifneq ($(UCLIBC_LINUX_SPECIFIC),y)
# we need these internally: fstatfs.c statfs.c
-CSRC := $(filter-out capget.c inotify.c ioperm.c iopl.c madvise.c \
+CSRC := $(filter-out capget.c capset.c inotify.c ioperm.c iopl.c madvise.c \
modify_ldt.c personality.c prctl.c readahead.c reboot.c \
remap_file_pages.c sched_getaffinity.c sched_setaffinity.c \
sendfile64.c sendfile.c setfsgid.c setfsuid.c setresuid.c \
diff --git a/libc/sysdeps/linux/common/capset.c b/libc/sysdeps/linux/common/capset.c
index f8936285e..0a77e05f4 100644
--- a/libc/sysdeps/linux/common/capset.c
+++ b/libc/sysdeps/linux/common/capset.c
@@ -11,7 +11,7 @@
int capset(void *header, const void *data);
#ifdef __NR_capset
_syscall2(int, capset, void *, header, const void *, data)
-#else
+#elif defined __UCLIBC_HAS_STUBS__
int capset(void *header, const void *data)
{
__set_errno(ENOSYS);