From 1efbbfcd6f1186002f76457ee1937b5fbe200ffb Mon Sep 17 00:00:00 2001
From: Max Kellermann <max@musicpd.org>
Date: Tue, 5 May 2020 15:12:39 +0200
Subject: [PATCH] GitVersion: make GIT_VERSION const

---
 src/GitVersion.cxx | 2 +-
 src/GitVersion.hxx | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/GitVersion.cxx b/src/GitVersion.cxx
index 55c149711..8aaa05bfe 100644
--- a/src/GitVersion.cxx
+++ b/src/GitVersion.cxx
@@ -19,4 +19,4 @@
 
 #include "GitVersion.hxx"
 
-char GIT_VERSION[] = "@VCS_TAG@";
+const char GIT_VERSION[] = "@VCS_TAG@";
diff --git a/src/GitVersion.hxx b/src/GitVersion.hxx
index e97315450..7e6042ee3 100644
--- a/src/GitVersion.hxx
+++ b/src/GitVersion.hxx
@@ -20,6 +20,6 @@
 #ifndef MPD_GIT_VERSION_HXX
 #define MPD_GIT_VERSION_HXX
 
-extern char GIT_VERSION[];
+extern const char GIT_VERSION[];
 
 #endif