Commit e599bb87 authored by Lucas Russo's avatar Lucas Russo

{include,src/revision/}revision.*: make build variable static

They should be only accessible through our API in
include/revision.h
parent ec450d8b
......@@ -12,12 +12,6 @@
extern "C" {
#endif
extern const char *build_revision;
extern const char *build_date;
extern const char *build_user_name;
extern const char *build_user_email;
extern const char *build_version;
/* Clone the build revision. Returns the cloned string is successfully or NULL
* on error */
char *revision_clone_build_revision (void);
......
......@@ -7,11 +7,11 @@
#include "bpm_server.h"
const char *build_revision = GIT_REVISION;
const char *build_date = __DATE__ " " __TIME__;
const char *build_user_name = GIT_USER_NAME;
const char *build_user_email = GIT_USER_EMAIL;
const char *build_version = BPM_VERSION_MAJOR_STR"."BPM_VERSION_MINOR_STR"."BPM_VERSION_PATCH_STR;
static const char *build_revision = GIT_REVISION;
static const char *build_date = __DATE__ " " __TIME__;
static const char *build_user_name = GIT_USER_NAME;
static const char *build_user_email = GIT_USER_EMAIL;
static const char *build_version = BPM_VERSION_MAJOR_STR"."BPM_VERSION_MINOR_STR"."BPM_VERSION_PATCH_STR;
/************************* Clone functions ***********************************/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment