Removed outdated comments obsoleted by documentation in headers

Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Mikhail Gusarov 2010-05-06 01:55:36 +07:00
parent 4d55c8c4ff
commit 801162919d

View File

@ -1039,11 +1039,6 @@ Xalloc(unsigned long amount)
return malloc(amount);
}
/*****************
* XNFalloc
* "no failure" alloc
*****************/
void *
XNFalloc(unsigned long amount)
{
@ -1053,20 +1048,12 @@ XNFalloc(unsigned long amount)
return ptr;
}
/*****************
* Xcalloc
*****************/
void *
Xcalloc(unsigned long amount)
{
return calloc(1, amount);
}
/*****************
* XNFcalloc
*****************/
void *
XNFcalloc(unsigned long amount)
{
@ -1076,10 +1063,6 @@ XNFcalloc(unsigned long amount)
return ret;
}
/*****************
* Xrealloc
*****************/
void *
Xrealloc(void *ptr, unsigned long amount)
{
@ -1097,11 +1080,6 @@ Xrealloc(void *ptr, unsigned long amount)
return realloc(ptr, amount);
}
/*****************
* XNFrealloc
* "no failure" realloc
*****************/
void *
XNFrealloc(void *ptr, unsigned long amount)
@ -1112,11 +1090,6 @@ XNFrealloc(void *ptr, unsigned long amount)
return ret;
}
/*****************
* Xfree
* calls free
*****************/
void
Xfree(void *ptr)
{