summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/comm/msgb.c
diff options
context:
space:
mode:
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 */