mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-27 05:29:27 +03:00
* cons.saver.c (die): Declare as "static" to avoid gcc warning.
(send_contents): Likewise.
This commit is contained in:
parent
7c709ae396
commit
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;
|
||||
|
Loading…
Reference in New Issue
Block a user