mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 04:32:37 +01:00
client: move static array inits out of display_init()
This commit is contained in:
parent
664723f427
commit
ce4a272186
@ -38,8 +38,8 @@
|
||||
|
||||
static struct l_signal *resize_signal;
|
||||
static struct l_io *io;
|
||||
static char dashed_line[LINE_LEN];
|
||||
static char empty_line[LINE_LEN];
|
||||
static char dashed_line[LINE_LEN] = { [0 ... LINE_LEN - 2] = '-' };
|
||||
static char empty_line[LINE_LEN] = { [0 ... LINE_LEN - 2] = ' ' };
|
||||
static struct l_timeout *refresh_timeout;
|
||||
static struct saved_input *agent_saved_input;
|
||||
|
||||
@ -592,9 +592,6 @@ void display_init(void)
|
||||
{
|
||||
sigset_t mask;
|
||||
|
||||
memset(&dashed_line, '-', sizeof(dashed_line) - 1);
|
||||
memset(&empty_line, ' ', sizeof(empty_line) - 1);
|
||||
|
||||
display_refresh.redo_entries = l_queue_new();
|
||||
|
||||
setlinebuf(stdout);
|
||||
|
Loading…
Reference in New Issue
Block a user