mirror of
https://github.com/samba-team/samba.git
synced 2025-02-24 13:57:43 +03:00
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
This commit is contained in:
parent
c562a534c8
commit
8ae354ed4e
@ -39,20 +39,6 @@ void *malloc_(size_t size)
|
||||
#define malloc(s) __ERROR_DONT_USE_MALLOC_DIRECTLY
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
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.
|
||||
****************************************************************************/
|
||||
|
Loading…
x
Reference in New Issue
Block a user