diff options
author | brian <brian@FreeBSD.org> | 1997-05-07 23:01:25 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-05-07 23:01:25 +0000 |
commit | c0df205f61114f6e2e8e0e81b742de41d87cfcca (patch) | |
tree | 47c107aa11ed1373a1bdb81a124d4c753409711b /usr.sbin/ppp/chat.h | |
parent | 605e9c6e8fbf82421ae4b271a7a7d47664f9062e (diff) | |
download | FreeBSD-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.h | 5 |
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 |