aboutsummaryrefslogtreecommitdiffstats
path: root/node.c
diff options
context:
space:
mode:
Diffstat (limited to 'node.c')
-rw-r--r--node.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/node.c b/node.c
index 925fe8bc..65ecb0ed 100644
--- a/node.c
+++ b/node.c
@@ -25,6 +25,8 @@
#include "awk.h"
+extern double strtod();
+
AWKNUM
r_force_number(n)
register NODE *n;
@@ -299,16 +301,13 @@ NODE *it;
#ifdef MPROF
it->stref = 0;
free((char *) it);
-#else
-#ifdef MALLOCDEBUG
- memset(it, '\04', sizeof(*it));
-#endif
+#else /* not MPROF */
/* add it to head of freelist */
it->nextp = nextfree;
nextfree = it;
-#endif
+#endif /* not MPROF */
}
-#endif
+#endif /* DEBUG */
void
unref(tmp)