summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/comm/msgb.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-05-15 17:49:06 +0200
committerHarald Welte <laforge@gnumonks.org>2017-05-15 21:43:47 +0200
commit9d7773352d18e105e5a371c7adc9e0ff2aabcf66 (patch)
treeedcba9ac0857eedf1247a7088ee282acf41f0db3 /src/target/firmware/comm/msgb.c
parentad92f0835341330097f4be62ee2257abcd69977c (diff)
use system-installed libosmo{core,gsm}.alaforge/remove-libosmocore
Diffstat (limited to 'src/target/firmware/comm/msgb.c')
-rw-r--r--src/target/firmware/comm/msgb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/firmware/comm/msgb.c b/src/target/firmware/comm/msgb.c
index 3524ba58..fa58d7f1 100644
--- a/src/target/firmware/comm/msgb.c
+++ b/src/target/firmware/comm/msgb.c
@@ -44,7 +44,7 @@ struct supermsg {
uint8_t buf[MSGB_DATA_SIZE];
};
static struct supermsg msgs[MSGB_NUM];
-void *_talloc_zero(void *ctx, unsigned int size, const char *name)
+void *_talloc_zero(const void *ctx, size_t size, const char *name)
{
unsigned long flags;
unsigned int i;
@@ -70,7 +70,7 @@ panic:
return NULL; /* not reached */
}
-void talloc_free(void *msg)
+int _talloc_free(void *msg, const char *location)
{
struct supermsg *smsg = container_of(msg, struct supermsg, msg);
/* no locking required, since this is atomic */