From 8ad5eef794085e02384b9b559820b3a6db02acd6 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Fri, 7 Sep 2007 13:53:59 +0000 Subject: export table_name_to_file --- common.c | 2 +- common.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/common.c b/common.c index 0f17cc7..1265bba 100644 --- a/common.c +++ b/common.c @@ -9,7 +9,7 @@ #include #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, -- cgit v1.2.1