From d6789f1384eb515f7bbe0d25762ffb82567eec38 Mon Sep 17 00:00:00 2001 From: OpenGnSys Support Team Date: Thu, 2 Jul 2020 12:28:47 +0200 Subject: #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 --- src/cfg.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/cfg.h') 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 -- cgit v1.2.3-18-g5258