GitVersion: make GIT_VERSION const
This commit is contained in:
parent
e0edf0b206
commit
1efbbfcd6f
|
@ -19,4 +19,4 @@
|
|||
|
||||
#include "GitVersion.hxx"
|
||||
|
||||
char GIT_VERSION[] = "@VCS_TAG@";
|
||||
const char GIT_VERSION[] = "@VCS_TAG@";
|
||||
|
|
|
@ -20,6 +20,6 @@
|
|||
#ifndef MPD_GIT_VERSION_HXX
|
||||
#define MPD_GIT_VERSION_HXX
|
||||
|
||||
extern char GIT_VERSION[];
|
||||
extern const char GIT_VERSION[];
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue