summaryrefslogtreecommitdiffstats
path: root/src/intrf.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2008-03-24 16:00:31 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2008-03-24 16:00:31 +0100
commitcffa6d713f83ab5d48c9f527eee17a5acb545a16 (patch)
tree311916a1a67554a76eb82eaa4e843637feddaadc /src/intrf.c
parent75c3c983d4910f937672ad90b6e1de0c49f406bf (diff)
make vaff_txt() static
Diffstat (limited to 'src/intrf.c')
-rw-r--r--src/intrf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/intrf.c b/src/intrf.c
index f0c70e5..1974791 100644
--- a/src/intrf.c
+++ b/src/intrf.c
@@ -86,6 +86,7 @@ extern const char *monstr[];
static char intr_buffer_screen[MAX_LINES][LINE_LENGTH+1];
static int intr_nbr_line=0;
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 td_list_head list;
char name[4096];
@@ -1770,7 +1771,7 @@ char *ask_location(const char*msg, const char *src_dir)
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];
int i;