mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
NetBSD has changed the el_init() prototype
Submitted by: Kazuyoshi Kato <kazk@yyy.or.jp>
This commit is contained in:
parent
a77cab77c5
commit
e83358b444
1 changed files with 2 additions and 1 deletions
|
|
@ -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"))) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue