diff options
author | Kjell Wooding <kjell@cvs.openbsd.org> | 2008-06-11 23:23:56 +0000 |
---|---|---|
committer | Kjell Wooding <kjell@cvs.openbsd.org> | 2008-06-11 23:23:56 +0000 |
commit | a5991f0bcf42c05083639a8c017acfbf46b29ebc (patch) | |
tree | 2e1d09316431590823681621f74d2bd0bc33e07c | |
parent | 632308c1afc31b8e5a74596117c3850dfd83a5f2 (diff) |
Expose changemode for use by "self-contained" modes
-rw-r--r-- | usr.bin/mg/modes.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/mg/modes.c b/usr.bin/mg/modes.c index 217db94e9c9..7fc78b3307d 100644 --- a/usr.bin/mg/modes.c +++ b/usr.bin/mg/modes.c @@ -1,4 +1,4 @@ -/* $OpenBSD: modes.c,v 1.16 2005/12/13 07:20:13 kjell Exp $ */ +/* $OpenBSD: modes.c,v 1.17 2008/06/11 23:23:55 kjell Exp $ */ /* This file is in the public domain. */ @@ -11,13 +11,13 @@ #include "def.h" #include "kbd.h" -static int changemode(int, int, char *); +int changemode(int, int, char *); int defb_nmodes = 0; struct maps_s *defb_modes[PBMODES] = { &fundamental_mode }; int defb_flag = 0; -static int +int changemode(int f, int n, char *mode) { int i; |