diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-05-23 21:59:46 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-05-23 21:59:46 +0000 |
commit | 23848391a21020322047fb4462366a8a414ed1e6 (patch) | |
tree | 8446a7e1fd401956c3b15ed021c1f61ce0ab355c /usr.bin/mg | |
parent | 00e7e84e2f1fcab2995e0f19b9d49bef112f6b9e (diff) |
No need to export nfunct and functnames now that help doesn't use them
anymore. nfunct isn't used anywhere.
Diffstat (limited to 'usr.bin/mg')
-rw-r--r-- | usr.bin/mg/def.h | 3 | ||||
-rw-r--r-- | usr.bin/mg/kbd.h | 4 | ||||
-rw-r--r-- | usr.bin/mg/keymap.c | 4 |
3 files changed, 3 insertions, 8 deletions
diff --git a/usr.bin/mg/def.h b/usr.bin/mg/def.h index 94ea7616343..843ad94c291 100644 --- a/usr.bin/mg/def.h +++ b/usr.bin/mg/def.h @@ -1,4 +1,4 @@ -/* $OpenBSD: def.h,v 1.14 2001/05/23 21:42:34 art Exp $ */ +/* $OpenBSD: def.h,v 1.15 2001/05/23 21:59:45 art Exp $ */ /* * This file is the general header file for all parts @@ -591,7 +591,6 @@ extern int tttop; extern int ttbot; extern int tthue; extern int nmaps; -extern int nfunct; extern int defb_nmodes; extern int defb_flag; extern char cinfo[]; diff --git a/usr.bin/mg/kbd.h b/usr.bin/mg/kbd.h index 34dd413401f..073ffa8a8d8 100644 --- a/usr.bin/mg/kbd.h +++ b/usr.bin/mg/kbd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: kbd.h,v 1.7 2001/05/23 20:19:44 art Exp $ */ +/* $OpenBSD: kbd.h,v 1.8 2001/05/23 21:59:45 art Exp $ */ /* * kbd.h: type definitions for symbol.c and kbd.c for mg experimental @@ -55,7 +55,5 @@ PF name_function __P((char *)); char *function_name __P((PF)); char *map_name __P((KEYMAP *)); -extern int nfunct; -extern FUNCTNAMES functnames[]; extern MAP_ELEMENT *ele; extern MAPS *defb_modes[]; diff --git a/usr.bin/mg/keymap.c b/usr.bin/mg/keymap.c index ac5837f831a..9d9d022bd6e 100644 --- a/usr.bin/mg/keymap.c +++ b/usr.bin/mg/keymap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: keymap.c,v 1.7 2001/05/23 16:26:39 art Exp $ */ +/* $OpenBSD: keymap.c,v 1.8 2001/05/23 21:59:45 art Exp $ */ /* * Keyboard maps. This is character set dependent. The terminal specific @@ -851,8 +851,6 @@ FUNCTNAMES functnames[] = { #define NFUNCT (sizeof(functnames)/sizeof(FUNCTNAMES)) -int nfunct = NFUNCT; /* used by help.c */ - /* * The general-purpose version of ROUND2 blows osk C (2.0) out of the water. * (reboot required) If you need to build a version of mg with less than 32 |