mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-09 16:01:19 +01: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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=51448
@ -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 New Issue
Block a user