From 3568853f63e1ab8ff1fc0773a132d14187a0e2d8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= <flameeyes@gmail.com>
Date: Mon, 24 Jan 2011 23:36:12 +0000
Subject: [PATCH] Make this_year static to cmdutils.c

Signed-off-by: Mans Rullgard <mans@mansr.com>
---
 cmdutils.c | 2 +-
 cmdutils.h | 2 --
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/cmdutils.c b/cmdutils.c
index 295d10798a2..58fe85cfda6 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 9fb7845971e..c3d8a424537 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;
-- 
GitLab