summaryrefslogtreecommitdiff
path: root/src/mintdb/mintdb_plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mintdb/mintdb_plugin.c')
-rw-r--r--src/mintdb/mintdb_plugin.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mintdb/mintdb_plugin.c b/src/mintdb/mintdb_plugin.c
index b109ff3d1..13d7c8f71 100644
--- a/src/mintdb/mintdb_plugin.c
+++ b/src/mintdb/mintdb_plugin.c
@@ -25,19 +25,13 @@
/**
- * Libtool search path before we started.
- */
-static char *old_dlsearchpath;
-
-
-/**
* Initialize the plugin.
*
* @param cfg configuration to use
* @return #GNUNET_OK on success
*/
struct TALER_MINTDB_Plugin *
-TALER_MINT_plugin_load (const struct GNUNET_CONFIGURATION_Handle *cfg)
+TALER_MINTDB_plugin_load (const struct GNUNET_CONFIGURATION_Handle *cfg)
{
char *plugin_name;
char *lib_name;
@@ -76,7 +70,7 @@ TALER_MINT_plugin_load (const struct GNUNET_CONFIGURATION_Handle *cfg)
* @param plugin the plugin to unload
*/
void
-TALER_MINT_plugin_unload (struct TALER_MINTDB_Plugin *plugin)
+TALER_MINTDB_plugin_unload (struct TALER_MINTDB_Plugin *plugin)
{
char *lib_name;
@@ -90,6 +84,12 @@ TALER_MINT_plugin_unload (struct TALER_MINTDB_Plugin *plugin)
/**
+ * Libtool search path before we started.
+ */
+static char *old_dlsearchpath;
+
+
+/**
* Setup libtool paths.
*/
void __attribute__ ((constructor))
@@ -146,4 +146,4 @@ plugin_fini ()
}
-/* end of plugin.c */
+/* end of mintdb_plugin.c */