Selaa lähdekoodia

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>
Peter S. Mazinger 14 vuotta sitten
vanhempi
commit
f2401c418b
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      libc/sysdeps/linux/common/get_kernel_syms.c

+ 2 - 2
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