aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/osmocom/core/plugin.h2
-rw-r--r--src/gsm/gprs_cipher_core.c2
-rw-r--r--src/plugin.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/include/osmocom/core/plugin.h b/include/osmocom/core/plugin.h
index 98f9b56d..6c0eccc6 100644
--- a/include/osmocom/core/plugin.h
+++ b/include/osmocom/core/plugin.h
@@ -1,6 +1,6 @@
#ifndef _OSMO_PLUGIN_H
#define _OSMO_PLUGIN_H
-int plugin_load_all(const char *directory);
+int osmo_plugin_load_all(const char *directory);
#endif
diff --git a/src/gsm/gprs_cipher_core.c b/src/gsm/gprs_cipher_core.c
index 0ff85e2d..7884be01 100644
--- a/src/gsm/gprs_cipher_core.c
+++ b/src/gsm/gprs_cipher_core.c
@@ -53,7 +53,7 @@ int gprs_cipher_register(struct gprs_cipher_impl *ciph)
int gprs_cipher_load(const char *path)
{
/* load all plugins available from path */
- return plugin_load_all(path);
+ return osmo_plugin_load_all(path);
}
/* function to be called by core code */
diff --git a/src/plugin.c b/src/plugin.c
index 4d9fd314..998bca35 100644
--- a/src/plugin.c
+++ b/src/plugin.c
@@ -32,7 +32,7 @@
#include <osmocom/core/plugin.h>
-int plugin_load_all(const char *directory)
+int osmo_plugin_load_all(const char *directory)
{
unsigned int num = 0;
char fname[PATH_MAX];
@@ -55,7 +55,7 @@ int plugin_load_all(const char *directory)
return num;
}
#else
-int plugin_load_all(const char *directory)
+int osmo_plugin_load_all(const char *directory)
{
return 0;
}