summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2021-05-27 12:22:22 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2021-05-27 12:22:49 +0200
commitee2f909dbee5ed204258d013f27adb1d70bf5926 (patch)
treec2d22a17cccdba5fa1f304c88aa96e83dcd04754
parenta00eccc7676dea5238be0b2908f254aba1bf321e (diff)
#1042 fix multiple definition of ogconfig
/usr/bin/ld: src/schema.o:/home/soleta/opengnsys/ogServer/src/schema.c:50: multiple definition of `ogconfig'; src/main.o:/home/soleta/opengnsys/ogServer/src/main.c:31: first defined here collect2: error: ld returned 1 exit status make: *** [Makefile:411: ogserver] Error 1
-rw-r--r--src/schema.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/schema.c b/src/schema.c
index c1d9ffd..1d935b9 100644
--- a/src/schema.c
+++ b/src/schema.c
@@ -47,8 +47,6 @@ static const char *stmts_v2[OG_SCHEMA_STMTS_V2] = {
[6] = "UPDATE version SET version = 2",
};
-struct og_server_cfg ogconfig;
-
static int og_dbi_create_version(struct og_dbi *dbi)
{
const char *msglog;