summaryrefslogtreecommitdiffstats
path: root/src/intrf.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2013-05-17 16:57:47 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2013-05-17 16:57:47 +0200
commitc0613313cb0f308038766d14fa411a490eef33cd (patch)
tree59bc92543fec200326e8ce197b47b4dcf6bb2fe6 /src/intrf.c
parentc92ae23d4a890a9c80bb481c3814e42ebbd7b087 (diff)
remove screen_buffer_to_stdout() function
Diffstat (limited to 'src/intrf.c')
-rw-r--r--src/intrf.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/intrf.c b/src/intrf.c
index f2aed67..0488921 100644
--- a/src/intrf.c
+++ b/src/intrf.c
@@ -101,19 +101,6 @@ int screen_buffer_add(const char *_format, ...)
return 0;
}
-void screen_buffer_to_stdout(void)
-{
- int i;
- if(intr_nbr_line<MAX_LINES && intr_buffer_screen[intr_nbr_line][0]!='\0')
- intr_nbr_line++;
- /* to log file and stdout */
- for(i=0;i<intr_nbr_line && i<MAX_LINES;i++)
- {
- printf("%s\n",intr_buffer_screen[i]);
- log_info("%s\n",intr_buffer_screen[i]);
- }
-}
-
void screen_buffer_reset(void)
{
intr_nbr_line=0;