diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-09-18 13:25:48 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:06:54 -0500 |
commit | 3864520c9aacafb992f49bd4d3d2cf81f4b6256f (patch) | |
tree | a5780fc033206d4614957e8b1c6367e35f7bbc82 /source4 | |
parent | d232d1851cd07b8900f2eb9d454699618713532a (diff) | |
download | samba-3864520c9aacafb992f49bd4d3d2cf81f4b6256f.tar.gz samba-3864520c9aacafb992f49bd4d3d2cf81f4b6256f.tar.bz2 samba-3864520c9aacafb992f49bd4d3d2cf81f4b6256f.zip |
r25211: fix compiler warning
metze
(This used to be commit c0d095c8c9c1f9a7a96771e20680c105f0cce308)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/lib/talloc/talloc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/lib/talloc/talloc.c b/source4/lib/talloc/talloc.c index 033e70d2f9..ea32b3273a 100644 --- a/source4/lib/talloc/talloc.c +++ b/source4/lib/talloc/talloc.c @@ -1315,6 +1315,10 @@ char *talloc_asprintf(const void *t, const char *fmt, ...) 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) { ssize_t alen; va_list ap2; |