diff options
author | Brian Somers <brian@FreeBSD.org> | 1997-11-22 03:37:54 +0000 |
---|---|---|
committer | Brian Somers <brian@FreeBSD.org> | 1997-11-22 03:37:54 +0000 |
commit | b6e82f33ef84ba5eedb0db2e24525e9d0f661b91 (patch) | |
tree | d0d0e64820ed68529fb828bc334dc417554f37a7 /usr.sbin/ppp/defs.h | |
parent | 9822c98d98f8dd158b97c0f89f13652f308abb45 (diff) | |
download | src-b6e82f33ef84ba5eedb0db2e24525e9d0f661b91.tar.gz src-b6e82f33ef84ba5eedb0db2e24525e9d0f661b91.zip |
Fix prototypes.
Remove extraneous decls.
Add ``const'' to several places.
Allow ``make NOALIAS=1'' to remove IP aliasing.
Merge with OpenBSD - only the Makefiles vary.
We can now survive a compile with
-Wall -Wbad-function-cast -Wcast-align -Wcast-qual
-Winline -Wmissing-declarations -Wmissing-prototypes
-Wnested-externs -Wpointer-arith -Wredundant-decls
-Wshadow -Wstrict-prototypes -Wwrite-strings -Wchar-subscripts
(although the Makefile just contains -Wall).
Notes
Notes:
svn path=/head/; revision=31343
Diffstat (limited to 'usr.sbin/ppp/defs.h')
-rw-r--r-- | usr.sbin/ppp/defs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ppp/defs.h b/usr.sbin/ppp/defs.h index 2f671f825614..164c88e8dadb 100644 --- a/usr.sbin/ppp/defs.h +++ b/usr.sbin/ppp/defs.h @@ -15,7 +15,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: defs.h,v 1.26 1997/11/17 00:42:39 brian Exp $ + * $Id: defs.h,v 1.27 1997/11/18 00:19:31 brian Exp $ * * TODO: */ @@ -45,6 +45,7 @@ #define NEXT_REDIAL_PERIOD 3 /* Default Hold time to next number redial */ #define SCRIPT_LEN 512 /* Size of login scripts */ #define LINE_LEN SCRIPT_LEN /* Size of login scripts */ +#define MAXARGS 40 /* How many args per config line */ #define CONFFILE "ppp.conf" #define LINKUPFILE "ppp.linkup" |