summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/stubs.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-11-02 17:28:15 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-11-02 17:28:15 +0100
commit3dbeeb83952b6645381d7193bd3321082ba932b6 (patch)
treeb4e571a1aba17dde065f309aad6dc61016258a7b /libc/sysdeps/linux/common/stubs.c
parentfafa38973d0472f645025af0a8d8ad265251a9ed (diff)
stubs: remove leftover undefs
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/common/stubs.c')
-rw-r--r--libc/sysdeps/linux/common/stubs.c61
1 files changed, 0 insertions, 61 deletions
diff --git a/libc/sysdeps/linux/common/stubs.c b/libc/sysdeps/linux/common/stubs.c
index 10d6db15d..1e5490351 100644
--- a/libc/sysdeps/linux/common/stubs.c
+++ b/libc/sysdeps/linux/common/stubs.c
@@ -32,67 +32,6 @@ static int enosys_stub(void)
# undef __NR_sync_file_range
#endif
-#ifndef __UCLIBC_LINUX_SPECIFIC__
-# undef __NR_accept4
-# undef __NR_arch_prctl
-# undef __NR_capget
-# undef __NR_capset
-# undef __NR_fstatfs
-# undef __NR_inotify_init
-# undef __NR_inotify_add_watch
-# undef __NR_inotify_rm_watch
-# undef __NR_ioperm
-# undef __NR_iopl
-# undef __NR_madvise
-# undef __NR_modify_ldt
-# undef __NR_personality
-# undef __NR_pipe2
-# undef __NR_pivot_root
-# undef __NR_ppoll
-# undef __NR_prctl
-# undef __NR_readahead
-# undef __NR_reboot
-# undef __NR_remap_file_pages
-# undef __NR_sched_getaffinity
-# undef __NR_sched_setaffinity
-# undef __NR_sendfile
-# undef __NR_setfsgid
-# undef __NR_setfsuid
-# undef __NR_setresuid
-# undef __NR_signalfd
-# undef __NR_splice
-# undef __NR_swapoff
-# undef __NR_swapon
-# undef __NR_sync_file_range
-# undef __NR_sysctl
-# undef __NR_sysinfo
-# undef __NR_tee
-# undef __NR_vhangup
-# undef __NR_vmsplice
-#endif
-
-#ifndef __UCLIBC_HAS_SOCKET__
-# undef __NR_accept
-# undef __NR_accept4
-# undef __NR_bind
-# undef __NR_connect
-# undef __NR_getpeername
-# undef __NR_getsockname
-# undef __NR_getsockopt
-# undef __NR_listen
-# undef __NR_recv
-# undef __NR_recvfrom
-# undef __NR_recvmsg
-# undef __NR_send
-# undef __NR_sendmsg
-# undef __NR_sendto
-# undef __NR_setsockopt
-# undef __NR_shutdown
-# undef __NR_socket
-# undef __NR_socketcall
-# undef __NR_socketpair
-#endif
-
#if !defined __NR_accept && !defined __NR_socketcall && defined __UCLIBC_HAS_SOCKET__
make_stub(accept)
#endif