summaryrefslogtreecommitdiffstats
path: root/bin/ksh/emacs.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2003-06-26 00:09:45 +0000
committerderaadt <deraadt@openbsd.org>2003-06-26 00:09:45 +0000
commitee6d79f8637fc24c899cf2813ed071422362ea45 (patch)
tree04842b7bbcce099f88de95fc9d5e5d0026f9c245 /bin/ksh/emacs.c
parentconstify some readonly data (diff)
downloadwireguard-openbsd-ee6d79f8637fc24c899cf2813ed071422362ea45.tar.xz
wireguard-openbsd-ee6d79f8637fc24c899cf2813ed071422362ea45.zip
protos
Diffstat (limited to 'bin/ksh/emacs.c')
-rw-r--r--bin/ksh/emacs.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/ksh/emacs.c b/bin/ksh/emacs.c
index 392b0246fe1..3ec71f04bf5 100644
--- a/bin/ksh/emacs.c
+++ b/bin/ksh/emacs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: emacs.c,v 1.19 2003/04/16 23:11:52 tdeval Exp $ */
+/* $OpenBSD: emacs.c,v 1.20 2003/06/26 00:09:45 deraadt Exp $ */
/*
* Emacs-like command line editing and history
@@ -438,6 +438,8 @@ x_ins_string(c)
return KSTD;
}
+static int x_do_ins(const char *cp, int len);
+
static int
x_do_ins(cp, len)
const char *cp;
@@ -1533,6 +1535,8 @@ x_init_emacs()
x_usemeta = 1;
}
+static void bind_if_not_bound(int p, int k, int func);
+
static void
bind_if_not_bound(p, k, func)
int p, k;