From 74deb2f3fc4e23ca73ea97059080fd87dfbba81e Mon Sep 17 00:00:00 2001 From: Joursoir Date: Fri, 14 May 2021 17:47:43 +0000 Subject: ctimeline: move version and config file constants to header --- ctimeline.c | 2 -- ctimeline.h | 3 +++ 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; -- cgit v1.2.3-18-g5258