projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64c8b17
)
Be more generic for libc5. We don't need to know struct definitions
author
Eric Andersen
<andersen@codepoet.org>
Thu, 5 Apr 2001 07:41:51 +0000
(07:41 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Thu, 5 Apr 2001 07:41:51 +0000
(07:41 -0000)
to make the syscall finction -- use a generic pointer instead.
libbb/module_syscalls.c
patch
|
blob
|
history
diff --git
a/libbb/module_syscalls.c
b/libbb/module_syscalls.c
index 3a06b21a027c89dd55850ce03869568c55570d6b..2fb4cd1775affca886fdd7a84e495d0f92cb816e 100644
(file)
--- 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,