diff options
author | jmg <jmg@FreeBSD.org> | 1997-10-19 11:15:45 +0000 |
---|---|---|
committer | jmg <jmg@FreeBSD.org> | 1997-10-19 11:15:45 +0000 |
commit | 075da1dbb990ca02802b89d73266b82c6c776b11 (patch) | |
tree | edfa02a1745e2182653df33aba56af68d6520ed6 /sbin/kldload/kldload.c | |
parent | 804107bc406012014ee4aa55efc2e153232e6eac (diff) | |
download | FreeBSD-src-075da1dbb990ca02802b89d73266b82c6c776b11.zip FreeBSD-src-075da1dbb990ca02802b89d73266b82c6c776b11.tar.gz |
activate the programs that will be used to manipulate kld modules
fix a few problems with missing headers, warn called with an exit
value, and undeclared getopt vars
these programs now compile -Wall clean (and yes, I know I should use
more than just -Wall) :)
Diffstat (limited to 'sbin/kldload/kldload.c')
-rw-r--r-- | sbin/kldload/kldload.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sbin/kldload/kldload.c b/sbin/kldload/kldload.c index e2a58be..3145fde 100644 --- a/sbin/kldload/kldload.c +++ b/sbin/kldload/kldload.c @@ -23,14 +23,18 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ + * $Id: kldload.c,v 1.1 1997/05/07 18:19:21 dfr Exp $ */ +#include <err.h> #include <stdio.h> +#include <stdlib.h> #include <unistd.h> #include <sys/param.h> #include <sys/linker.h> +extern int optind; + static char* progname; static void usage() |