summaryrefslogtreecommitdiffstats
path: root/src/malloc.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-05-27 11:32:37 +0000
committerLennart Poettering <lennart@poettering.net>2008-05-27 11:32:37 +0000
commite3a1fe4f5f7714aa972f3cf7b9803636ffa853f0 (patch)
treeb6a0ad7c828f643d531ae9f74afe08c3866ebfe1 /src/malloc.h
parent7ac8038c3690eb5547cfdff83235f3636f87c303 (diff)
make the whole mess compile
git-svn-id: file:///home/lennart/svn/public/libcanberra/trunk@15 01b60673-d06a-42c0-afdd-89cb8e0f78ac
Diffstat (limited to 'src/malloc.h')
-rw-r--r--src/malloc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/malloc.h b/src/malloc.h
index b720a12..f8c1ba1 100644
--- a/src/malloc.h
+++ b/src/malloc.h
@@ -1,4 +1,4 @@
-#ifndef foosydneymallochfoo
+#ifndef foocanberramallochfoo
#define foocanberramallochfoo
/* $Id$ */
@@ -38,4 +38,6 @@ void* ca_memdup(const void* p, size_t size);
#define ca_new0(t, n) ((t*) ca_malloc0(sizeof(t)*(n)))
#define ca_newdup(t, p, n) ((t*) ca_memdup(p, sizeof(t)*(n)))
+char *ca_sprintf_malloc(const char *format, ...);
+
#endif