summaryrefslogtreecommitdiff
path: root/source3/lib/talloc
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2007-12-17 20:18:02 +0100
committerStefan Metzmacher <metze@samba.org>2008-09-14 19:12:57 +0200
commitb725e9e586a075636fc96212d4c8528c9072e6d6 (patch)
tree3e44e89ea96d90ec61b8022e14e6f302e19435dc /source3/lib/talloc
parent375ca336fecbe33b132fd1abb8df9b7af44ede76 (diff)
downloadsamba-b725e9e586a075636fc96212d4c8528c9072e6d6.tar.gz
samba-b725e9e586a075636fc96212d4c8528c9072e6d6.tar.bz2
samba-b725e9e586a075636fc96212d4c8528c9072e6d6.zip
r26514: Revert the talloc.c part of r26511, as talloc.h already takes care of thois.
Thanks to metze for pointing this out (cherry picked from commit 4a5e1047fff0620aa534b147ac7e0bd0416a8fe7) (This used to be commit 523cc93f89d00ed5a49fd033988e7221bd2ed902)
Diffstat (limited to 'source3/lib/talloc')
-rw-r--r--source3/lib/talloc/talloc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/lib/talloc/talloc.c b/source3/lib/talloc/talloc.c
index 5691a81a9a..1f7e52439f 100644
--- a/source3/lib/talloc/talloc.c
+++ b/source3/lib/talloc/talloc.c
@@ -1436,8 +1436,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;
@@ -1469,7 +1467,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;