r26514: Revert the talloc.c part of r26511, as talloc.h already takes care of thois.
authorKai Blin <kai@samba.org>
Mon, 17 Dec 2007 19:18:02 +0000 (20:18 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 21 Dec 2007 04:51:19 +0000 (05:51 +0100)
Thanks to metze for pointing this out
(This used to be commit 4a5e1047fff0620aa534b147ac7e0bd0416a8fe7)

source4/lib/talloc/talloc.c

index 6661c10bb53c46f0fefdab495bcd138a70f7a1d1..f9aefcd6de236f07d18fcdb94a0b40fdae3b9cb6 100644 (file)
@@ -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;