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

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Fri Jun 15 12:00:36 UTC 2012


commit: http://git.uclibc.org/uClibc/commit/?id=f2401c418b08ddf524c8bbf64c0892f29d12a519
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 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


More information about the uClibc-cvs mailing list