From 1ea4a619452b34bcd255db59c3c568d9c86476a0 Mon Sep 17 00:00:00 2001 From: Jean-Paul Saman Date: Sun, 13 Apr 2008 16:52:34 +0200 Subject: [PATCH] Move ppsz_input_state[] to modules/control/rc.c because it is the only user of this variable. This silences a lot of warning messages. --- include/vlc_input.h | 2 -- modules/control/rc.c | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/vlc_input.h b/include/vlc_input.h index d71a2de1a5..5e03e91906 100644 --- a/include/vlc_input.h +++ b/include/vlc_input.h @@ -544,8 +544,6 @@ enum input_state_e ERROR_S }; -static const char *ppsz_input_state[] = { N_("Initializing"), N_("Opening"), N_("Buffer"), N_("Play"), N_("Pause"), N_("Stop"), N_("Error") }; - /* "rate" default, min/max * A rate below 1000 plays the movie faster, * A rate above 1000 plays the movie slower. diff --git a/modules/control/rc.c b/modules/control/rc.c index 8bf1f02deb..0ef630e689 100644 --- a/modules/control/rc.c +++ b/modules/control/rc.c @@ -66,6 +66,8 @@ #define MAX_LINE_LENGTH 256 #define STATUS_CHANGE "status change: " +static const char *ppsz_input_state[] = { N_("Initializing"), N_("Opening"), N_("Buffer"), N_("Play"), N_("Pause"), N_("Stop"), N_("Error") }; + /***************************************************************************** * Local prototypes *****************************************************************************/ -- 2.39.2