summaryrefslogtreecommitdiff
path: root/usr.bin/mg/extend.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
commit6d57a1a176004a7d8fc009cdcf760098f86e3263 (patch)
treeee423c619fad03813234b9362694a17f3a638f0b /usr.bin/mg/extend.c
parentc707cb295fc3cac8d8feb343e949e0dcf71b8476 (diff)
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
Diffstat (limited to 'usr.bin/mg/extend.c')
-rw-r--r--usr.bin/mg/extend.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/usr.bin/mg/extend.c b/usr.bin/mg/extend.c
index e34d6cafb72..12f7702170a 100644
--- a/usr.bin/mg/extend.c
+++ b/usr.bin/mg/extend.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: extend.c,v 1.20 2002/02/14 22:50:43 vincent Exp $ */
+/* $OpenBSD: extend.c,v 1.21 2002/02/16 21:27:49 millert Exp $ */
/*
* Extended (M-X) commands, rebinding, and startup file processing.
@@ -21,13 +21,13 @@
#endif /* !NO_STARTUP */
#endif /* FKEYS */
-static int remap __P((KEYMAP *, int, PF, KEYMAP *));
-static KEYMAP *realocmap __P((KEYMAP *));
-static void fixmap __P((KEYMAP *, KEYMAP *, KEYMAP *));
-static int dobind __P((KEYMAP *, char *, int));
-static char *skipwhite __P((char *));
-static char *parsetoken __P((char *));
-static int bindkey __P((KEYMAP **, char *, KCHAR *, int));
+static int remap(KEYMAP *, int, PF, KEYMAP *);
+static KEYMAP *realocmap(KEYMAP *);
+static void fixmap(KEYMAP *, KEYMAP *, KEYMAP *);
+static int dobind(KEYMAP *, char *, int);
+static char *skipwhite(char *);
+static char *parsetoken(char *);
+static int bindkey(KEYMAP **, char *, KCHAR *, int);
/*
* Insert a string, mainly for use from macros (created by selfinsert)