Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-06-06 03:26:32 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-06-06 03:27:57 +0300
commit8b2b79c2108b6ef94247b14f68710b7cbee42aec (patch)
tree64df274fce35a1998e91071ee354a77cd386ac9b /source/creator
parent5db4608f70bca95f9fddea620fcfd77c26767b7e (diff)
Cleanup: quiet missing variable declaration warning
Diffstat (limited to 'source/creator')
-rw-r--r--source/creator/buildinfo.c16
1 files changed, 15 insertions, 1 deletions
diff --git a/source/creator/buildinfo.c b/source/creator/buildinfo.c
index 7843a25c037..c476694e4b5 100644
--- a/source/creator/buildinfo.c
+++ b/source/creator/buildinfo.c
@@ -27,7 +27,21 @@
#ifdef BUILD_DATE
-/* currently only these are defined in the header */
+extern char build_date[];
+extern char build_time[];
+extern char build_hash[];
+extern unsigned long build_commit_timestamp;
+extern char build_commit_date[];
+extern char build_commit_time[];
+extern char build_branch[];
+extern char build_platform[];
+extern char build_type[];
+extern char build_cflags[];
+extern char build_cxxflags[];
+extern char build_linkflags[];
+extern char build_system[];
+
+/* Currently only these are defined in the header. */
char build_date[] = BUILD_DATE;
char build_time[] = BUILD_TIME;
char build_hash[] = BUILD_HASH;