summaryrefslogtreecommitdiff
path: root/source4/lib/talloc/talloc.c
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2007-12-17 20:18:02 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:51:19 +0100
commitf6c80d0d9cdc24694174c31c51ecaa563f3e6e8c (patch)
treefb5f838875a779478e7b68a514dc2530f41eea34 /source4/lib/talloc/talloc.c
parentca74c6e6c426e6b69ba31676e2b06dda29b5409e (diff)
downloadsamba-f6c80d0d9cdc24694174c31c51ecaa563f3e6e8c.tar.gz
samba-f6c80d0d9cdc24694174c31c51ecaa563f3e6e8c.tar.bz2
samba-f6c80d0d9cdc24694174c31c51ecaa563f3e6e8c.zip
r26514: Revert the talloc.c part of r26511, as talloc.h already takes care of thois.
Thanks to metze for pointing this out (This used to be commit 4a5e1047fff0620aa534b147ac7e0bd0416a8fe7)
Diffstat (limited to 'source4/lib/talloc/talloc.c')
-rw-r--r--source4/lib/talloc/talloc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source4/lib/talloc/talloc.c b/source4/lib/talloc/talloc.c
index 6661c10bb5..f9aefcd6de 100644
--- a/source4/lib/talloc/talloc.c
+++ b/source4/lib/talloc/talloc.c
@@ -1245,8 +1245,6 @@ char *talloc_strndup_append_buffer(char *s, const char *a, size_t n)
#endif
#endif
-char *talloc_vasprintf(const void *t, const char *fmt, va_list ap) PRINTF_ATTRIBUTE(2,0);
-
char *talloc_vasprintf(const void *t, const char *fmt, va_list ap)
{
int len;
@@ -1278,7 +1276,6 @@ char *talloc_vasprintf(const void *t, const char *fmt, va_list ap)
Perform string formatting, and return a pointer to newly allocated
memory holding the result, inside a memory pool.
*/
-char *talloc_asprintf(const void *t, const char *fmt, ...) PRINTF_ATTRIBUTE(2,3);
char *talloc_asprintf(const void *t, const char *fmt, ...)
{
va_list ap;