From 905b9ac8f8268c670e64ff614d35af7198833009 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Thu, 29 Nov 2001 20:30:50 +0000 Subject: [PATCH] * layout.c: Make more variables static. --- src/ChangeLog | 2 ++ src/layout.c | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index aa107f19a..d3a9df6ba 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2001-11-29 Pavel Roskin + * layout.c: Make more variables static. + * cons.saver.c: Define LINUX_CONS_SAVER_C so that some parts of cons.saver.h can be omitted. * cons.saver.h: Declare nothing but constants if diff --git a/src/layout.c b/src/layout.c index 806530e21..3e066dd42 100644 --- a/src/layout.c +++ b/src/layout.c @@ -112,7 +112,7 @@ int output_start_y = 0; /* Janne gets around this, we will only manage two of them :-) */ #define MAX_VIEWS 2 -struct { +static struct { int type; Widget *widget; } panels [MAX_VIEWS]; @@ -155,7 +155,8 @@ static char *s_split_direction [2] = { N_("&Vertical"), N_("&Horizontal") }; -WRadio *radio_widget; + +static WRadio *radio_widget; static struct { char *text;