Skip to content

Commit

Permalink
moved symbols from dlopen to setup, so that they are always linked
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix Uhl authored and Felix Uhl committed May 23, 2022
1 parent 36b8cec commit e9deb05
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/vftr_dlopen.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand Down
3 changes: 3 additions & 0 deletions src/vftr_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit e9deb05

Please sign in to comment.