diff options
author | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2018-01-05 15:44:32 +0000 |
---|---|---|
committer | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2018-01-05 15:44:32 +0000 |
commit | e596782f486af87ab7a0a0c5ed8bf45ef79e7bad (patch) | |
tree | 411b11466cc6e6aa859811278ea02fa44b2a5815 /bin/ksh/c_ksh.c | |
parent | 9a9298d79a0e17249f2e3e67a2339faafc72a7f3 (diff) |
unifdef JOBS support
Prompted by a mail from Klemens Nanni, who also had the same diff.
ok deraadt@ millert@
Diffstat (limited to 'bin/ksh/c_ksh.c')
-rw-r--r-- | bin/ksh/c_ksh.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/bin/ksh/c_ksh.c b/bin/ksh/c_ksh.c index 174e79ad95d..3dae72e6383 100644 --- a/bin/ksh/c_ksh.c +++ b/bin/ksh/c_ksh.c @@ -1,4 +1,4 @@ -/* $OpenBSD: c_ksh.c,v 1.54 2018/01/04 19:06:16 millert Exp $ */ +/* $OpenBSD: c_ksh.c,v 1.55 2018/01/05 15:44:31 jca Exp $ */ /* * built-in Korn commands: c_* @@ -1068,7 +1068,6 @@ c_jobs(char **wp) return rv; } -#ifdef JOBS int c_fgbg(char **wp) { @@ -1092,7 +1091,6 @@ c_fgbg(char **wp) */ return (bg || Flag(FPOSIX)) ? 0 : rv; } -#endif struct kill_info { int num_width; @@ -1398,10 +1396,8 @@ const struct builtin kshbuiltins [] = { {"=typeset", c_typeset}, {"+unalias", c_unalias}, {"whence", c_whence}, -#ifdef JOBS {"+bg", c_fgbg}, {"+fg", c_fgbg}, -#endif #ifdef EMACS {"bind", c_bind}, #endif |