diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-04-05 03:14:39 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-04-05 03:14:39 +0000 |
commit | 01d0083a639d6b91298c62b9e67b803fe9b9a36d (patch) | |
tree | 87f705b9e4e4e48700ac61e9538c637ae2b395a7 /modutils/lsmod.c | |
parent | ea8519ec8a9e6807e16ca3a138d22201d35b273b (diff) | |
download | busybox-w32-01d0083a639d6b91298c62b9e67b803fe9b9a36d.tar.gz busybox-w32-01d0083a639d6b91298c62b9e67b803fe9b9a36d.tar.bz2 busybox-w32-01d0083a639d6b91298c62b9e67b803fe9b9a36d.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
git-svn-id: svn://busybox.net/trunk/busybox@2250 69ca8d6d-28ef-0310-b511-8ec308f3f277
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; |