diff options
author | Volker Lendecke <vl@samba.org> | 2012-05-15 13:37:25 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2012-05-15 18:24:10 +0200 |
commit | 8ae354ed4e3443dce7678a4c0ad3bd034bf5305b (patch) | |
tree | 184ea4dc102acaf03ddad8868dd3486a54aa7ccf /source3/lib | |
parent | c562a534c854388e860d0231aab5dad4f06dfe2c (diff) | |
download | samba-8ae354ed4e3443dce7678a4c0ad3bd034bf5305b.tar.gz samba-8ae354ed4e3443dce7678a4c0ad3bd034bf5305b.tar.bz2 samba-8ae354ed4e3443dce7678a4c0ad3bd034bf5305b.zip |
s3: Remove some unused code
Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Tue May 15 18:24:10 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/util_malloc.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/source3/lib/util_malloc.c b/source3/lib/util_malloc.c index faff9b03db..ff78db6500 100644 --- a/source3/lib/util_malloc.c +++ b/source3/lib/util_malloc.c @@ -40,20 +40,6 @@ void *malloc_(size_t size) } /**************************************************************************** - Internal calloc wrapper. Not externally visible. -****************************************************************************/ - -static void *calloc_(size_t count, size_t size) -{ - if (size == 0 || count == 0) { - return NULL; - } -#undef calloc - return calloc(count, size); -#define calloc(n,s) __ERROR_DONT_USE_CALLOC_DIRECTLY -} - -/**************************************************************************** Internal realloc wrapper. Not externally visible. ****************************************************************************/ |