summaryrefslogtreecommitdiffstats
path: root/src/cfg.h
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2020-10-07 11:05:51 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2020-10-07 11:11:04 +0200
commit3cea4bb763165d119a329a1c7f2c767857cdb384 (patch)
treed4a4b18025967ef5bacf7cbd7808698ad63ed7e6 /src/cfg.h
parentd7a871b529de5f7d1a72137f395e3ae8bb42a1fd (diff)
#988 rename og_server_cfg to cfg
to avoid clash with existing variable cfg in client.c
Diffstat (limited to 'src/cfg.h')
-rw-r--r--src/cfg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cfg.h b/src/cfg.h
index 0d45bbd..75678da 100644
--- a/src/cfg.h
+++ b/src/cfg.h
@@ -26,6 +26,6 @@ struct og_server_cfg {
int parse_json_config(const char *filename, struct og_server_cfg *cfg);
void from_json_to_legacy(struct og_server_cfg *cfg);
-extern struct og_server_cfg cfg;
+extern struct og_server_cfg ogconfig;
#endif