prototype for a static function used before it’s defined

XXX add protos for all static functions (just: hard to find them)
This commit is contained in:
tg 2014-11-19 21:52:16 +00:00
parent 517bd63fe5
commit 0d9b36daa3
1 changed files with 2 additions and 1 deletions

3
edit.c
View File

@ -28,7 +28,7 @@
#ifndef MKSH_NO_CMDLINE_EDITING
__RCSID("$MirOS: src/bin/mksh/edit.c,v 1.278 2014/11/19 21:49:10 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/edit.c,v 1.279 2014/11/19 21:52:16 tg Exp $");
/*
* in later versions we might use libtermcap for this, but since external
@ -86,6 +86,7 @@ static void x_init_prompt(bool);
#if !MKSH_S_NOVI
static int x_vi(char *);
#endif
static int x_meta1(int);
#define x_flush() shf_flush(shl_out)
#if defined(MKSH_SMALL) && !defined(MKSH_SMALL_BUT_FAST)