diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-02-12 13:19:42 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-02-12 13:19:42 +0100 |
commit | 7cefa00eadb4292d2c915a38a86e588c6e539d26 (patch) | |
tree | d8c0319b26ec3b3c28c3e73ae196e6a81c889e7a /util.c | |
parent | 406d259cd1faab6de1ee2b817970c9f71d7945a2 (diff) | |
download | uci-7cefa00eadb4292d2c915a38a86e588c6e539d26.tar.gz |
more plugin support
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; |