* cons.saver.c (die): Declare as "static" to avoid gcc warning.

(send_contents): Likewise.
This commit is contained in:
Roland Illig 2004-10-21 23:08:28 +00:00
parent 7c709ae396
commit fe6f6ab57e
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2004-10-21 Roland Illig <roland.illig@gmx.de>
* cons.saver.c (die): Declare as "static" to avoid gcc warning.
(send_contents): Likewise.
2004-10-20 Jakub Jelinek <jakub@redhat.com>
* user.c (user_menu_cmd): Fix error. test_line() doesn't handle

View File

@ -47,7 +47,7 @@
#define LINUX_CONS_SAVER_C
#include "cons.saver.h"
void
static void
send_contents (char *buffer, unsigned int columns, unsigned int rows)
{
unsigned char begin_line = 0, end_line = 0;
@ -100,7 +100,7 @@ out:
write (1, outbuf, p - outbuf);
}
void __attribute__ ((noreturn))
static void __attribute__ ((noreturn))
die (void)
{
unsigned char zero = 0;