summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common.c2
-rw-r--r--common.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/common.c b/common.c
index 0f17cc7..1265bba 100644
--- a/common.c
+++ b/common.c
@@ -9,7 +9,7 @@
#include <zlib.h>
#include "common.h"
-static char *table_name_to_file(const char *name) {
+char *table_name_to_file(const char *name) {
char *share_path = getenv("SHARE_PATH");
char *fname;
diff --git a/common.h b/common.h
index d20fa49..e114533 100644
--- a/common.h
+++ b/common.h
@@ -8,6 +8,8 @@
#pragma GCC visibility push(hidden)
+extern char *table_name_to_file(const char *name);
+
typedef enum {
LOAD,
DO_NOT_LOAD,