summaryrefslogtreecommitdiffstats
path: root/src/cfg.h
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2020-07-02 12:28:47 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2020-07-02 12:34:38 +0200
commitd6789f1384eb515f7bbe0d25762ffb82567eec38 (patch)
tree1c9289a49dd64889b18582edf263c8db2a46c06f /src/cfg.h
parentf520a57f58bc450e3a7c7b3e61bf2dd60a17bf33 (diff)
#971 linkage error after split
/usr/bin/ld: src/cfg.o:/home/opengnsys/ogServer/src/ogAdmServer.h:25: multiple definition of `servidoradm'; src/ogAdmServer.o:/home/javi/trabajo/soleta/opengnsys/ogServer/src/ogAdmServer.h:25: first defined here /usr/bin/ld: src/cfg.o:/home/opengnsys/ogServer/src/ogAdmServer.h:26: multiple definition of `puerto'; src/ogAdmServer.o:/home/javi/trabajo/soleta/opengnsys/ogServer/src/ogAdmServer.h:26: first defined here /usr/bin/ld: src/cfg.o:/home/opengnsys/ogServer/src/ogAdmServer.h:35: multiple definition of `tbsockets'; src/ogAdmServer.o:/home/javi/trabajo/soleta/opengnsys/ogServer/src/ogAdmServer.h:35: first defined here /usr/bin/ld: src/cfg.o:/home/opengnsys/ogServer/src/ogAdmLib.h:81: multiple definition of `ndebug'; src/ogAdmServer.o:/home/javi/trabajo/soleta/opengnsys/ogServer/src/ogAdmLib.h:81: first defined here /usr/bin/ld: src/cfg.o:/home/opengnsys/ogServer/src/ogAdmLib.h:80: multiple definition of `szPathFileLog'; src/ogAdmServer.o:/home/javi/trabajo/soleta/opengnsys/ogServer/src/ogAdmLib.h:80: first defined here /usr/bin/ld: src/cfg.o:/home/opengnsys/ogServer/src/ogAdmLib.h:80: multiple definition of `szPathFileCfg'; src/ogAdmServer.o:/home/javi/trabajo/soleta/opengnsys/ogServer/src/ogAdmLib.h:80: first defined here
Diffstat (limited to 'src/cfg.h')
-rw-r--r--src/cfg.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/cfg.h b/src/cfg.h
index cfb37bd..d489d5f 100644
--- a/src/cfg.h
+++ b/src/cfg.h
@@ -19,15 +19,6 @@ struct og_server_cfg {
};
int parse_json_config(const char *filename, struct og_server_cfg *cfg);
-
-extern char auth_token[4096];
-extern char usuario[4096];
-extern char pasguor[4096];
-extern char catalog[4096];
-extern char datasource[4096];
-extern char interface[4096];
-extern char api_token[4096];
-
void from_json_to_legacy(struct og_server_cfg *cfg);
#endif