diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-04-05 03:14:39 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-04-05 03:14:39 +0000 |
commit | e76c3b08e105147e3cef7e8d38d65da2fac6b2e1 (patch) | |
tree | 87f705b9e4e4e48700ac61e9538c637ae2b395a7 /modutils/lsmod.c | |
parent | 3c0364f3911ec9f43e1c8c96ec2c8e30b1b52c47 (diff) | |
download | busybox-w32-e76c3b08e105147e3cef7e8d38d65da2fac6b2e1.tar.gz busybox-w32-e76c3b08e105147e3cef7e8d38d65da2fac6b2e1.tar.bz2 busybox-w32-e76c3b08e105147e3cef7e8d38d65da2fac6b2e1.zip |
A number of cleanups. Now compiles with libc5, glibc, and uClibc. Fix a few
shadowed variables. Move (almost) all syscalls to libbb/syscalls.c, so I can
handle them sanely and all at once.
-Erik
Diffstat (limited to 'modutils/lsmod.c')
-rw-r--r-- | modutils/lsmod.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modutils/lsmod.c b/modutils/lsmod.c index 8251705de..0f1b09b9e 100644 --- a/modutils/lsmod.c +++ b/modutils/lsmod.c | |||
@@ -52,8 +52,7 @@ struct module_info | |||
52 | }; | 52 | }; |
53 | 53 | ||
54 | 54 | ||
55 | int query_module(const char *name, int which, void *buf, size_t bufsize, | 55 | int query_module(const char *name, int which, void *buf, size_t bufsize, size_t *ret); |
56 | size_t *ret); | ||
57 | 56 | ||
58 | /* Values for query_module's which. */ | 57 | /* Values for query_module's which. */ |
59 | static const int QM_MODULES = 1; | 58 | static const int QM_MODULES = 1; |