aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2021-05-14 17:47:43 +0000
committerJoursoir <chat@joursoir.net>2021-05-14 17:47:43 +0000
commit74deb2f3fc4e23ca73ea97059080fd87dfbba81e (patch)
treebd0d9ad4a7d58cf246f5c0ddcfa6f52b5e247fb3
parent47bfdd8fc6745228e53cf3d9584b030470de056b (diff)
downloadctimeline-74deb2f3fc4e23ca73ea97059080fd87dfbba81e.tar.gz
ctimeline-74deb2f3fc4e23ca73ea97059080fd87dfbba81e.tar.bz2
ctimeline-74deb2f3fc4e23ca73ea97059080fd87dfbba81e.zip
ctimeline: move version and config file constants to header
-rw-r--r--ctimeline.c2
-rw-r--r--ctimeline.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/ctimeline.c b/ctimeline.c
index 3b664bd..6259433 100644
--- a/ctimeline.c
+++ b/ctimeline.c
@@ -5,8 +5,6 @@
#include "ctimeline.h"
-#define APP_VERSION "1.0"
-#define CONFIG_PATH "/etc/ctimelines"
#define COMMENT_CHAR '#'
#define INIT_CAPACITY_LIST 8
diff --git a/ctimeline.h b/ctimeline.h
index 28bed28..edd5062 100644
--- a/ctimeline.h
+++ b/ctimeline.h
@@ -3,6 +3,9 @@
#include "xstring.h"
+#define CTIMELINE_VERSION "1.0"
+#define CTIMELINE_CONFIG "/etc/ctimelines"
+
struct ctimeline_branch {
string *name;
int age_from;