summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-02-12 13:19:42 +0100
committerFelix Fietkau <nbd@openwrt.org>2008-02-12 13:19:42 +0100
commit7cefa00eadb4292d2c915a38a86e588c6e539d26 (patch)
treed8c0319b26ec3b3c28c3e73ae196e6a81c889e7a /util.c
parent406d259cd1faab6de1ee2b817970c9f71d7945a2 (diff)
downloaduci-7cefa00eadb4292d2c915a38a86e588c6e539d26.tar.gz
more plugin support
Diffstat (limited to 'util.c')
-rw-r--r--util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/util.c b/util.c
index 35aa2b6..ac7b8cb 100644
--- a/util.c
+++ b/util.c
@@ -27,7 +27,7 @@
#define LINEBUF 32
#define LINEBUF_MAX 4096
-static void *uci_malloc(struct uci_context *ctx, size_t size)
+__plugin void *uci_malloc(struct uci_context *ctx, size_t size)
{
void *ptr;
@@ -39,7 +39,7 @@ static void *uci_malloc(struct uci_context *ctx, size_t size)
return ptr;
}
-static void *uci_realloc(struct uci_context *ctx, void *ptr, size_t size)
+__plugin void *uci_realloc(struct uci_context *ctx, void *ptr, size_t size)
{
ptr = realloc(ptr, size);
if (!ptr)
@@ -48,7 +48,7 @@ static void *uci_realloc(struct uci_context *ctx, void *ptr, size_t size)
return ptr;
}
-static char *uci_strdup(struct uci_context *ctx, const char *str)
+__plugin char *uci_strdup(struct uci_context *ctx, const char *str)
{
char *ptr;