r25211: fix compiler warning
authorStefan Metzmacher <metze@samba.org>
Tue, 18 Sep 2007 13:25:48 +0000 (13:25 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 20:06:54 +0000 (15:06 -0500)
metze

source/lib/talloc/talloc.c

index 033e70d2f963069b95cd284cc540d534b1172df7..ea32b3273aa5c037a174766e61fe46f6020dc22f 100644 (file)
@@ -1313,6 +1313,10 @@ char *talloc_asprintf(const void *t, const char *fmt, ...)
        return ret;
 }
 
+static inline char *__talloc_vaslenprintf_append(char *s, size_t slen,
+                                                const char *fmt, va_list ap)
+                                                PRINTF_ATTRIBUTE(3,0);
+
 static inline char *__talloc_vaslenprintf_append(char *s, size_t slen,
                                                 const char *fmt, va_list ap)
 {