GitVersion: make GIT_VERSION const

This commit is contained in:
Max Kellermann 2020-05-05 15:12:39 +02:00
parent e0edf0b206
commit 1efbbfcd6f
2 changed files with 2 additions and 2 deletions

View File

@ -19,4 +19,4 @@
#include "GitVersion.hxx"
char GIT_VERSION[] = "@VCS_TAG@";
const char GIT_VERSION[] = "@VCS_TAG@";

View File

@ -20,6 +20,6 @@
#ifndef MPD_GIT_VERSION_HXX
#define MPD_GIT_VERSION_HXX
extern char GIT_VERSION[];
extern const char GIT_VERSION[];
#endif