From 911af57ff820432b2b194a02e6c11a0f10be7b50 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 5 Apr 2001 07:41:51 +0000 Subject: [PATCH] Be more generic for libc5. We don't need to know struct definitions to make the syscall finction -- use a generic pointer instead. --- libbb/module_syscalls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libbb/module_syscalls.c b/libbb/module_syscalls.c index 3a06b21a0..2fb4cd177 100644 --- a/libbb/module_syscalls.c +++ b/libbb/module_syscalls.c @@ -35,7 +35,7 @@ #if __GNU_LIBRARY__ < 5 /* These syscalls are not included as part of libc5 */ _syscall1(int, delete_module, const char *, name); -_syscall1(int, get_kernel_syms, struct old_kernel_sym *, ks); +_syscall1(int, get_kernel_syms, __ptr_t, ks); /* This may have 5 arguments (for old 2.0 kernels) or 2 arguments * (for 2.2 and 2.4 kernels). Use the greatest common denominator,