NetBSD has changed the el_init() prototype

Submitted by:	Kazuyoshi Kato <kazk@yyy.or.jp>
This commit is contained in:
Brian Somers 1999-09-20 07:22:22 +00:00
parent a77cab77c5
commit e83358b444
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=51448

View File

@ -369,10 +369,11 @@ main(int argc, char **argv)
size = 20;
#ifdef __NetBSD__
history(hist, NULL, H_SETSIZE, size);
edit = el_init("pppctl", stdin, stdout, stderr);
#else
history(hist, H_EVENT, size);
#endif
edit = el_init("pppctl", stdin, stdout);
#endif
el_source(edit, NULL);
el_set(edit, EL_PROMPT, GetPrompt);
if ((env = getenv("EL_EDITOR"))) {