summaryrefslogtreecommitdiff
path: root/wrapper/rvs.h
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2009-09-13 00:33:03 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-06-26 00:30:15 -0600
commit3f829bcc56a0dff2ba4ed6e1a1c081b6262fbed9 (patch)
tree469b62ba0d4b73650a1c4e8e5b51e1a8f54f27b0 /wrapper/rvs.h
parentdbd499c654ffc8f1195fc03bd06680045bc0e306 (diff)
everything that is coded in the wrapper works
Diffstat (limited to 'wrapper/rvs.h')
-rw-r--r--wrapper/rvs.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/wrapper/rvs.h b/wrapper/rvs.h
index 008b94a..83cde87 100644
--- a/wrapper/rvs.h
+++ b/wrapper/rvs.h
@@ -41,9 +41,6 @@ void *
xmalloc (size_t size)
{
void *value = malloc (size);
- #ifdef DEBUG_ALLOC
- printf("x=%p\n",value);
- #endif
if (value == NULL) {
perror(program_invocation_name);
exit(EXIT_FAILURE);
@@ -55,9 +52,6 @@ void *
xrealloc (void *ptr, size_t size)
{
void *value = realloc (ptr, size);
- #ifdef DEBUG_ALLOC
- printf("x/%p -> %p\n",ptr,value);
- #endif
if (value == NULL) {
perror(program_invocation_name);
exit(EXIT_FAILURE);
@@ -69,9 +63,6 @@ void
xfree (void *ptr)
{
if (ptr!=NULL)
- #ifdef DEBUG_ALLOC
- printf("x-%p\n",ptr);
- #endif
free (ptr);
}