summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/chat.h
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-05-07 23:01:25 +0000
committerbrian <brian@FreeBSD.org>1997-05-07 23:01:25 +0000
commitc0df205f61114f6e2e8e0e81b742de41d87cfcca (patch)
tree47c107aa11ed1373a1bdb81a124d4c753409711b /usr.sbin/ppp/chat.h
parent605e9c6e8fbf82421ae4b271a7a7d47664f9062e (diff)
downloadFreeBSD-src-c0df205f61114f6e2e8e0e81b742de41d87cfcca.zip
FreeBSD-src-c0df205f61114f6e2e8e0e81b742de41d87cfcca.tar.gz
Allow up to 40 args in the chat script (was 20).
Ignore subsequent args rather than scribbling. PR: 1952 Submitted by: Mikael Hybsch <micke@free.dynas.se>
Diffstat (limited to 'usr.sbin/ppp/chat.h')
-rw-r--r--usr.sbin/ppp/chat.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/ppp/chat.h b/usr.sbin/ppp/chat.h
index ddc5a23..14ddc39 100644
--- a/usr.sbin/ppp/chat.h
+++ b/usr.sbin/ppp/chat.h
@@ -18,12 +18,13 @@
* Columbus, OH 43221
* (614)451-1883
*
- * $Id$
+ * $Id: chat.h,v 1.4 1997/02/22 16:10:07 peter Exp $
*
*/
#ifndef _CHAT_H_
#define _CHAT_H_
#include "cdefs.h"
extern char * ExpandString __P((char *, char *, int, int));
-extern int MakeArgs __P((char *, char **));
+extern int MakeArgs __P((char *, char **, int));
+#define VECSIZE(v) (sizeof(v) / sizeof(v[0]))
#endif
OpenPOWER on IntegriCloud