diff options
author | lum <lum@cvs.openbsd.org> | 2012-03-14 13:56:36 +0000 |
---|---|---|
committer | lum <lum@cvs.openbsd.org> | 2012-03-14 13:56:36 +0000 |
commit | 765ad8e4544f22532ce5e20a58eb1b64877ecc2b (patch) | |
tree | fcb2d24e2fabf1fd3ecd1659d2f1274ff4b653fd /usr.bin/mg/dired.c | |
parent | e0b5d824208b47eaf3d8e82f8121315977c5d1bb (diff) |
Remove the NO_HELP conditional directives. If defined, mg will not compile and
has not done so for numerous years. Not hard to fix, but just remove anyway.
ok kjell@ millert@
Diffstat (limited to 'usr.bin/mg/dired.c')
-rw-r--r-- | usr.bin/mg/dired.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/usr.bin/mg/dired.c b/usr.bin/mg/dired.c index 524290e15cc..184c9f7de4b 100644 --- a/usr.bin/mg/dired.c +++ b/usr.bin/mg/dired.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dired.c,v 1.50 2011/08/31 03:40:53 lum Exp $ */ +/* $OpenBSD: dired.c,v 1.51 2012/03/14 13:56:35 lum Exp $ */ /* This file is in the public domain. */ @@ -56,9 +56,7 @@ static PF dirednul[] = { gotoeol, /* ^E */ forwchar, /* ^F */ ctrlg, /* ^G */ -#ifndef NO_HELP NULL, /* ^H */ -#endif /* !NO_HELP */ }; static PF diredcl[] = { @@ -151,15 +149,9 @@ static struct KEYMAPE (7 + NDIRED_XMAPS + IMAPEXT) diredmap = { 7 + NDIRED_XMAPS + IMAPEXT, rescan, { -#ifndef NO_HELP { CCHR('@'), CCHR('H'), dirednul, (KEYMAP *) & helpmap }, -#else /* !NO_HELP */ - { - CCHR('@'), CCHR('G'), dirednul, NULL - }, -#endif /* !NO_HELP */ { CCHR('L'), CCHR('X'), diredcl, (KEYMAP *) & cXmap }, |