extern int NDECL(doorganize); /**/
#endif /* DUMB */
+static void NDECL(commands_init);
+static int FDECL(dokeylist_putcmds, (winid, BOOLEAN_P, int, int, boolean *));
+static int FDECL(ch2spkeys, (char, int, int));
+static boolean FDECL(prefix_cmd, (char));
+
static int NDECL((*timed_occ_fn));
static int NDECL(dosuspend_core);
}
/* initialize all keyboard commands */
-void
+static void
commands_init()
{
struct ext_func_tab *extcmd;
(void) bind_key(' ', "wait");
}
-int
+static int
dokeylist_putcmds(datawin, docount, cmdflags, exflags, keys_used)
winid datawin;
boolean docount;
return rn2(extcmdlist_length + 1) - 1;
}
-int
+static int
ch2spkeys(c, start, end)
char c;
int start,end;
|| (g.Cmd.num_pad && c == g.Cmd.spkeys[NHKF_REDRAW2]));
}
-boolean
+static boolean
prefix_cmd(c)
char c;
{
}
char
-get_count(allowchars, inkey, maxcount, count, historical)
+get_count(allowchars, inkey, maxcount, count, historicmsg)
char *allowchars;
char inkey;
long maxcount;
long *count;
-boolean historical; /* whether to include in message history: True => yes */
+boolean historicmsg; /* whether to include in message history: True => yes */
{
char qbuf[QBUFSZ];
int key;
}
}
- if (historical) {
+ if (historicmsg) {
Sprintf(qbuf, "Count: %ld ", *count);
(void) key2txt((uchar) key, eos(qbuf));
putmsghistory(qbuf, FALSE);