summaryrefslogtreecommitdiff
path: root/source4/lib/talloc.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-09-13 05:01:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:42 -0500
commit9922a795d44e624387c74e1097bf2507fe2b2d16 (patch)
treed7dfa12485da03490e1d405674a7361621ba0b90 /source4/lib/talloc.c
parentd2c14a5dc6117d6593aa03090ce7fa4c9ebc3359 (diff)
downloadsamba-9922a795d44e624387c74e1097bf2507fe2b2d16.tar.gz
samba-9922a795d44e624387c74e1097bf2507fe2b2d16.tar.bz2
samba-9922a795d44e624387c74e1097bf2507fe2b2d16.zip
r2308: make talloc_vasprintf() available outside talloc.c
(This used to be commit a3a15f9d1a3b51cb7099b5f3adb8401dfc37793d)
Diffstat (limited to 'source4/lib/talloc.c')
-rw-r--r--source4/lib/talloc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/lib/talloc.c b/source4/lib/talloc.c
index 036d06a2c2..e9fd7e8baf 100644
--- a/source4/lib/talloc.c
+++ b/source4/lib/talloc.c
@@ -395,8 +395,7 @@ char *talloc_strndup(void *t, const char *p, size_t n)
return ret;
}
-static char *talloc_vasprintf(void *t, const char *fmt, va_list ap) PRINTF_ATTRIBUTE(2,0);
-static char *talloc_vasprintf(void *t, const char *fmt, va_list ap)
+char *talloc_vasprintf(void *t, const char *fmt, va_list ap)
{
int len;
char *ret;