summaryrefslogtreecommitdiff
path: root/source3/lib/talloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/talloc.c')
-rw-r--r--source3/lib/talloc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/talloc.c b/source3/lib/talloc.c
index 5fffe58f9f..f0c13753b5 100644
--- a/source3/lib/talloc.c
+++ b/source3/lib/talloc.c
@@ -117,7 +117,7 @@ static void talloc_disenroll(TALLOC_CTX *t)
/** Create a new talloc context. **/
-TALLOC_CTX *talloc_init(void)
+static TALLOC_CTX *talloc_init_internal(void)
{
TALLOC_CTX *t;
@@ -139,12 +139,12 @@ TALLOC_CTX *talloc_init(void)
* Please call this in preference to talloc_init().
**/
- TALLOC_CTX *talloc_init_named(char const *fmt, ...)
+ TALLOC_CTX *talloc_init(char const *fmt, ...)
{
TALLOC_CTX *t;
va_list ap;
- t = talloc_init();
+ t = talloc_init_internal();
if (t && fmt) {
/*
* t->name must not be talloced.