summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-04-13 21:58:37 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:36 +0200
commitf2401c418b08ddf524c8bbf64c0892f29d12a519 (patch)
tree543941d1f2fc4cfd8b4506639d70a07efd0e4d86 /libc/sysdeps/linux/common
parentca89d7e1fb0b694a372a7c9d85765a936912ceff (diff)
get_kernel_syms.c: reorganize, no need for attribute_unused in prototype
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/common')
-rw-r--r--libc/sysdeps/linux/common/get_kernel_syms.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/get_kernel_syms.c b/libc/sysdeps/linux/common/get_kernel_syms.c
index 6124a81d4..740b8d3aa 100644
--- a/libc/sysdeps/linux/common/get_kernel_syms.c
+++ b/libc/sysdeps/linux/common/get_kernel_syms.c
@@ -9,8 +9,8 @@
#include <sys/syscall.h>
-struct kernel_sym;
-int get_kernel_syms(struct kernel_sym *table attribute_unused);
#ifdef __NR_get_kernel_syms
+struct kernel_sym;
+int get_kernel_syms(struct kernel_sym *table);
_syscall1(int, get_kernel_syms, struct kernel_sym *, table)
#endif