diff --git a/cmdutils.c b/cmdutils.c
index 295d10798a29ac2930f664f22706de473c54927d..58fe85cfda634a926bf8adec44c460d4cd2f8db9 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -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)
 {
diff --git a/cmdutils.h b/cmdutils.h
index 9fb7845971e57bc94040f3767da468bfeee7e325..c3d8a4245375c2aecd65d1d01bb50d42fa331b5a 100644
--- a/cmdutils.h
+++ b/cmdutils.h
@@ -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;