diff options
author | Stefan Metzmacher <metze@samba.org> | 2010-10-26 22:41:46 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-01-20 05:31:45 +0100 |
commit | 34ea9096366fe475891a0aee7b3bbc74bfe07032 (patch) | |
tree | b15f9dad9de6747d2e3bd2d7fceae0b008a4842b /lib | |
parent | 9e00d2a9a47d03b41e88407eb89395b870a104a5 (diff) | |
download | samba-34ea9096366fe475891a0aee7b3bbc74bfe07032.tar.gz samba-34ea9096366fe475891a0aee7b3bbc74bfe07032.tar.bz2 samba-34ea9096366fe475891a0aee7b3bbc74bfe07032.zip |
lib/util: s/allocate_anonymous_shared/anonymous_shared_allocate/
metze
Diffstat (limited to 'lib')
-rw-r--r-- | lib/util/util.c | 2 | ||||
-rw-r--r-- | lib/util/util.h | 2 |
2 files changed, 2 insertions, 2 deletions
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. |