diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-04-05 07:41:51 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-04-05 07:41:51 +0000 |
commit | 911af57ff820432b2b194a02e6c11a0f10be7b50 (patch) | |
tree | d2265be1ee55dc5f2a0ad954e8da0986fbd5117f | |
parent | 64c8b1762c269cd3d6d1bd58ba6cece39f4863cf (diff) | |
download | busybox-w32-911af57ff820432b2b194a02e6c11a0f10be7b50.tar.gz busybox-w32-911af57ff820432b2b194a02e6c11a0f10be7b50.tar.bz2 busybox-w32-911af57ff820432b2b194a02e6c11a0f10be7b50.zip |
Be more generic for libc5. We don't need to know struct definitions
to make the syscall finction -- use a generic pointer instead.
-rw-r--r-- | libbb/module_syscalls.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ | |||
35 | #if __GNU_LIBRARY__ < 5 | 35 | #if __GNU_LIBRARY__ < 5 |
36 | /* These syscalls are not included as part of libc5 */ | 36 | /* These syscalls are not included as part of libc5 */ |
37 | _syscall1(int, delete_module, const char *, name); | 37 | _syscall1(int, delete_module, const char *, name); |
38 | _syscall1(int, get_kernel_syms, struct old_kernel_sym *, ks); | 38 | _syscall1(int, get_kernel_syms, __ptr_t, ks); |
39 | 39 | ||
40 | /* This may have 5 arguments (for old 2.0 kernels) or 2 arguments | 40 | /* This may have 5 arguments (for old 2.0 kernels) or 2 arguments |
41 | * (for 2.2 and 2.4 kernels). Use the greatest common denominator, | 41 | * (for 2.2 and 2.4 kernels). Use the greatest common denominator, |