* cons.saver.c (die): Declare as "static" to avoid gcc warning.
(send_contents): Likewise.
Этот коммит содержится в:
родитель
7c709ae396
Коммит
fe6f6ab57e
@ -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
|
||||
|
@ -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;
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user