diff options
author | brian <brian@FreeBSD.org> | 1997-11-22 03:37:54 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-11-22 03:37:54 +0000 |
commit | a7f001c816c9390acda1c72f889fd110f8d75563 (patch) | |
tree | 876d508224fb0bc9435a2e3b83f73719b56ad0b6 /usr.sbin/ppp/systems.h | |
parent | 13d351d26116b6bf544f619e0de396a53d47ccd1 (diff) | |
download | FreeBSD-src-a7f001c816c9390acda1c72f889fd110f8d75563.zip FreeBSD-src-a7f001c816c9390acda1c72f889fd110f8d75563.tar.gz |
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).
Diffstat (limited to 'usr.sbin/ppp/systems.h')
-rw-r--r-- | usr.sbin/ppp/systems.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/ppp/systems.h b/usr.sbin/ppp/systems.h index a491bd3..e5d0bc3 100644 --- a/usr.sbin/ppp/systems.h +++ b/usr.sbin/ppp/systems.h @@ -17,15 +17,15 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: systems.h,v 1.8 1997/11/09 06:22:48 brian Exp $ + * $Id: systems.h,v 1.9 1997/11/11 22:58:14 brian Exp $ * */ extern int SelectSystem(const char *, const char *); extern int ValidSystem(const char *); -extern int AllowUsers(struct cmdtab const *, int, char **); -extern int AllowModes(struct cmdtab const *, int, char **); -extern FILE *OpenSecret(char *); +extern FILE *OpenSecret(const char *); extern void CloseSecret(FILE *); -extern int LoadCommand(struct cmdtab const *, int, char **); -extern int SaveCommand(struct cmdtab const *, int, char **); +extern int AllowUsers(struct cmdargs const *); +extern int AllowModes(struct cmdargs const *); +extern int LoadCommand(struct cmdargs const *); +extern int SaveCommand(struct cmdargs const *); |