summaryrefslogtreecommitdiff
path: root/usr.bin/mg/kbd.h
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-05-24 09:47:35 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-05-24 09:47:35 +0000
commit052900f209b5cb4ae608a110572fd25c69fe5818 (patch)
tree38e9022f74eeb0cb24eee4cc09934a2c92b9ff84 /usr.bin/mg/kbd.h
parentb2c6a8db135f97b90dd96de763a7dd075b34ffef (diff)
Break out function -> name mappings to an own file.
Add a possibility to dynamically extend the function table.
Diffstat (limited to 'usr.bin/mg/kbd.h')
-rw-r--r--usr.bin/mg/kbd.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/usr.bin/mg/kbd.h b/usr.bin/mg/kbd.h
index 33dc4f81cdc..ea3dfa990dc 100644
--- a/usr.bin/mg/kbd.h
+++ b/usr.bin/mg/kbd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: kbd.h,v 1.10 2001/05/24 03:05:23 mickey Exp $ */
+/* $OpenBSD: kbd.h,v 1.11 2001/05/24 09:47:34 art Exp $ */
/*
* kbd.h: type definitions for symbol.c and kbd.c for mg experimental
@@ -43,17 +43,10 @@ typedef struct MAPS_S {
extern MAPS map_table[];
extern KEYMAP *fundamental_map;
-typedef struct {
- PF n_funct;
- char *n_name;
-} FUNCTNAMES;
-
int dobindkey __P((KEYMAP *, char *, char *));
KEYMAP *name_map __P((char *));
MAPS *name_mode __P((char *));
PF doscan __P((KEYMAP *, int, KEYMAP **));
-PF name_function __P((char *));
-char *function_name __P((PF));
char *map_name __P((KEYMAP *));
extern MAP_ELEMENT *ele;