summaryrefslogtreecommitdiff
path: root/src/common/alloc.c
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2013-01-28 19:02:21 +0000
committerIgor Pashev <pashev.igor@gmail.com>2013-01-28 19:02:21 +0000
commitf627f77f23d1497c9e1f4269b5c8812d12b42f18 (patch)
tree708772d83a8355e25155cf233d5a9e38f8ad4d96 /src/common/alloc.c
parent6ab0c0f5bf14ed9c15370407b9ee7e0b4b089ae1 (diff)
downloadicon-upstream.tar.gz
Imported Upstream version 9.5.0upstream/9.5.0upstream
Diffstat (limited to 'src/common/alloc.c')
-rw-r--r--src/common/alloc.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/common/alloc.c b/src/common/alloc.c
index 7a048b1..e3b7503 100644
--- a/src/common/alloc.c
+++ b/src/common/alloc.c
@@ -4,11 +4,6 @@
#include "../h/gsupport.h"
-#ifdef TypTrc
- int typealloc = 0; /* type allocation switch */
- long typespace = 0; /* type allocation amount */
-#endif /* TypTrc */
-
/*
* salloc - allocate and initialize string
*/
@@ -35,24 +30,6 @@ unsigned int n;
{
register pointer a;
-#ifdef AllocTrace
- static int sum = 0;
-#endif /* AllocTrace */
-
-#ifdef TypTrc
- if (typealloc)
- typespace += (long)n;
-#endif /* TypTrc */
-
-#ifdef AllocTrace
- sum = sum + n;
- if (sum > 5000) {
- fprintf(stderr, ".");
- fflush(stderr);
- sum = 0;
- };
-#endif /* AllocTrace */
-
if (n == 0) /* Work-around for 0 allocation */
n = 1;