make vaff_txt() static
This commit is contained in:
parent
75c3c983d4
commit
cffa6d713f
2 changed files with 2 additions and 2 deletions
|
@ -86,6 +86,7 @@ extern const char *monstr[];
|
||||||
static char intr_buffer_screen[MAX_LINES][LINE_LENGTH+1];
|
static char intr_buffer_screen[MAX_LINES][LINE_LENGTH+1];
|
||||||
static int intr_nbr_line=0;
|
static int intr_nbr_line=0;
|
||||||
static void set_parent_directory(char *dst_directory);
|
static void set_parent_directory(char *dst_directory);
|
||||||
|
static int vaff_txt(int line, WINDOW *window, const char *_format, va_list ap) __attribute__((format(printf, 3, 0)));
|
||||||
struct file_info {
|
struct file_info {
|
||||||
struct td_list_head list;
|
struct td_list_head list;
|
||||||
char name[4096];
|
char name[4096];
|
||||||
|
@ -1770,7 +1771,7 @@ char *ask_location(const char*msg, const char *src_dir)
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
int vaff_txt(int line, WINDOW *window, const char *_format, va_list ap)
|
static int vaff_txt(int line, WINDOW *window, const char *_format, va_list ap)
|
||||||
{
|
{
|
||||||
char buffer[1024];
|
char buffer[1024];
|
||||||
int i;
|
int i;
|
||||||
|
|
|
@ -40,7 +40,6 @@ void dump2(WINDOW *window, const void *dump_1, const void *dump_2, const unsigne
|
||||||
void dump(WINDOW *window,const void *nom_dump,unsigned int lng);
|
void dump(WINDOW *window,const void *nom_dump,unsigned int lng);
|
||||||
int screen_buffer_display_ext(WINDOW *window, const char *options_org, const struct MenuItem *menuItems, unsigned int *menu);
|
int screen_buffer_display_ext(WINDOW *window, const char *options_org, const struct MenuItem *menuItems, unsigned int *menu);
|
||||||
int screen_buffer_display(WINDOW *window, const char *options_org, const struct MenuItem *menuItems);
|
int screen_buffer_display(WINDOW *window, const char *options_org, const struct MenuItem *menuItems);
|
||||||
int vaff_txt(int line, WINDOW *window, const char *_format, va_list ap);
|
|
||||||
int wgetch_nodelay(WINDOW *window);
|
int wgetch_nodelay(WINDOW *window);
|
||||||
int wmenuSelect_ext(WINDOW *window, int y, int x, const struct MenuItem *menuItems, const unsigned int itemLength, const char *available, int menuType, unsigned int *current, int *real_key);
|
int wmenuSelect_ext(WINDOW *window, int y, int x, const struct MenuItem *menuItems, const unsigned int itemLength, const char *available, int menuType, unsigned int *current, int *real_key);
|
||||||
int wmenuSelect(WINDOW *window, int y, int x, const struct MenuItem *menuItems, const unsigned int itemLength, const char *available, int menuType, unsigned int menuDefault);
|
int wmenuSelect(WINDOW *window, int y, int x, const struct MenuItem *menuItems, const unsigned int itemLength, const char *available, int menuType, unsigned int menuDefault);
|
||||||
|
|
Loading…
Reference in a new issue