summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/chat.h
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-11-22 03:37:54 +0000
committerbrian <brian@FreeBSD.org>1997-11-22 03:37:54 +0000
commita7f001c816c9390acda1c72f889fd110f8d75563 (patch)
tree876d508224fb0bc9435a2e3b83f73719b56ad0b6 /usr.sbin/ppp/chat.h
parent13d351d26116b6bf544f619e0de396a53d47ccd1 (diff)
downloadFreeBSD-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/chat.h')
-rw-r--r--usr.sbin/ppp/chat.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ppp/chat.h b/usr.sbin/ppp/chat.h
index 371a468..53f67fa 100644
--- a/usr.sbin/ppp/chat.h
+++ b/usr.sbin/ppp/chat.h
@@ -18,12 +18,12 @@
* Columbus, OH 43221
* (614)451-1883
*
- * $Id: chat.h,v 1.7 1997/08/25 00:29:07 brian Exp $
+ * $Id: chat.h,v 1.8 1997/10/26 01:02:23 brian Exp $
*
*/
#define VECSIZE(v) (sizeof(v) / sizeof(v[0]))
-extern char *ExpandString(char *, char *, int, int);
-extern int MakeArgs(char *, char **, int);
-extern int DoChat(char *);
+extern char *ExpandString(const char *, char *, int, int);
+extern int MakeArgs(char *, char **, int); /* Mangles the first arg ! */
+extern int DoChat(char *); /* passes arg to MakeArgs() */
OpenPOWER on IntegriCloud