From 34ea9096366fe475891a0aee7b3bbc74bfe07032 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 26 Oct 2010 22:41:46 +0200 Subject: lib/util: s/allocate_anonymous_shared/anonymous_shared_allocate/ metze --- lib/util/util.c | 2 +- lib/util/util.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/util/util.c b/lib/util/util.c index 8928026e80..db71def4c4 100644 --- a/lib/util/util.c +++ b/lib/util/util.c @@ -937,7 +937,7 @@ bool next_token_no_ltrim_talloc(TALLOC_CTX *ctx, } /* Map a shared memory buffer of at least nelem counters. */ -void *allocate_anonymous_shared(size_t bufsz) +void *anonymous_shared_allocate(size_t bufsz) { void *buf; size_t pagesz = getpagesize(); diff --git a/lib/util/util.h b/lib/util/util.h index 86bb3daace..04ea20d07d 100644 --- a/lib/util/util.h +++ b/lib/util/util.h @@ -858,7 +858,7 @@ bool add_gid_to_array_unique(TALLOC_CTX *mem_ctx, gid_t gid, /** * Allocate anonymous shared memory of the given size */ -void *allocate_anonymous_shared(size_t bufsz); +void *anonymous_shared_allocate(size_t bufsz); /* run a command as a child process, with a timeout. -- cgit