X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=lsmod.c;h=c97d199a69e40d262cd86011ac05cc9b52998dc8;hb=5165fbed639916e0fde15a827241b21981be7934;hp=41575585fcd13f395b70abbd05b7e1c48b0d9bb6;hpb=f5d5e77321ad32b3952dcdf21d14fd0ef3d4c1a9;p=oweals%2Fbusybox.git diff --git a/lsmod.c b/lsmod.c index 41575585f..c97d199a6 100644 --- a/lsmod.c +++ b/lsmod.c @@ -2,7 +2,7 @@ /* * Mini lsmod implementation for busybox * - * Copyright (C) 1999,2000 by Lineo, inc. + * Copyright (C) 1999,2000,2001 by Lineo, inc. * Written by Erik Andersen , * * Modified by Alcove, Julien Gaulmin and @@ -25,7 +25,6 @@ * */ -#include "busybox.h" #include #include #include @@ -37,6 +36,7 @@ #include #include #include +#include "busybox.h" @@ -130,10 +130,6 @@ extern int lsmod_main(int argc, char **argv) #else /*BB_FEATURE_OLD_MODULE_INTERFACE*/ -#if ! defined BB_FEATURE_USE_PROCFS -#error Sorry, I depend on the /proc filesystem right now. -#endif - extern int lsmod_main(int argc, char **argv) { int fd, i;