[git commit future] get_kernel_syms.c: reorganize, no need for attribute_unused in prototype

Peter S. Mazinger ps.m at gmx.net
Wed Apr 13 17:38:40 UTC 2011


commit: http://git.uclibc.org/uClibc/commit/?id=8a329cfed233ee20a39f3bc5b0385d8921ea9a65
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/future

Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
---
 libc/sysdeps/linux/common/get_kernel_syms.c |    4 ++--
 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 6124a81..740b8d3 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
-- 
1.7.3.4



More information about the uClibc-cvs mailing list