summaryrefslogtreecommitdiff
path: root/os/utils.c
diff options
context:
space:
mode:
authorMikhail Gusarov <dottedmag@dottedmag.net>2010-05-06 01:55:36 +0700
committerMikhail Gusarov <dottedmag@dottedmag.net>2010-05-13 00:22:38 +0700
commit801162919d1c625d950a5d105ae4b3487ebc30a7 (patch)
tree5914104ed7130dc413bee899ada227d7ecbf5850 /os/utils.c
parent4d55c8c4ffcb5d6c6500b462a41ace8e2359151d (diff)
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>
Diffstat (limited to 'os/utils.c')
-rw-r--r--os/utils.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/os/utils.c b/os/utils.c
index c89da9490..7aa392ad8 100644
--- a/os/utils.c
+++ b/os/utils.c
@@ -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)
{