From e9deb05c1eeefc8b71014d7f5d8c3b95e1ae7564 Mon Sep 17 00:00:00 2001 From: Felix Uhl Date: Mon, 23 May 2022 09:59:55 +0200 Subject: [PATCH] moved symbols from dlopen to setup, so that they are always linked --- src/vftr_dlopen.c | 3 --- src/vftr_setup.c | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/vftr_dlopen.c b/src/vftr_dlopen.c index ecbb3e269..38ba3f68e 100644 --- a/src/vftr_dlopen.c +++ b/src/vftr_dlopen.c @@ -26,9 +26,6 @@ #include "vftr_dlopen.h" -int lib_opened; -char *dlopened_lib; - static void (*real_dlopen)(const char *filename, int flag)=NULL; static void real_dlopen_init () { diff --git a/src/vftr_setup.c b/src/vftr_setup.c index 4513923b4..c8904c3d6 100644 --- a/src/vftr_setup.c +++ b/src/vftr_setup.c @@ -59,6 +59,9 @@ char *vftr_end_date; bool in_vftr_finalize; +int lib_opened; +char *dlopened_lib; + void vftr_print_disclaimer_full (FILE *fp) { fprintf (fp, "\nThis program is free software; you can redistribute it and/or modify\n"