Handle slip options in the usual way (generate a dummy options file in

the module Makefile and don't clutter the sources with ifdefs).

Fixed nearby formatting bugs.
This commit is contained in:
Bruce Evans 2000-09-26 18:34:30 +00:00
parent c22d4cefb0
commit 008bec716e
2 changed files with 3 additions and 4 deletions

View File

@ -1,8 +1,8 @@
# $FreeBSD$
.PATH: ${.CURDIR}/../../net
KMOD= if_sl
SRCS= if_sl.c slcompress.c opt_inet.h
KMOD= if_sl
SRCS= if_sl.c slcompress.c opt_inet.h opt_slip.h
NOMAN=
opt_inet.h:

View File

@ -66,9 +66,8 @@
*/
#include "opt_inet.h"
#if !defined(KLD_MODULE)
#include "opt_slip.h"
#endif
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>