Make this_year static to cmdutils.c
authorDiego Elio Pettenò <flameeyes@gmail.com>
Mon, 24 Jan 2011 23:36:12 +0000 (23:36 +0000)
committerMans Rullgard <mans@mansr.com>
Mon, 24 Jan 2011 23:44:58 +0000 (23:44 +0000)
Signed-off-by: Mans Rullgard <mans@mansr.com>
cmdutils.c
cmdutils.h

index 295d107..58fe85c 100644 (file)
@@ -55,7 +55,7 @@ AVCodecContext *avcodec_opts[AVMEDIA_TYPE_NB];
 AVFormatContext *avformat_opts;
 struct SwsContext *sws_opts;
 
-const int this_year = 2011;
+static const int this_year = 2011;
 
 void init_opts(void)
 {
index 9fb7845..c3d8a42 100644 (file)
@@ -37,8 +37,6 @@ extern const char program_name[];
  */
 extern const int program_birth_year;
 
-extern const int this_year;
-
 extern const char **opt_names;
 extern AVCodecContext *avcodec_opts[AVMEDIA_TYPE_NB];
 extern AVFormatContext *avformat_opts;