summaryrefslogtreecommitdiff
path: root/usr.bin/indent
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-09-10 07:06:38 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-09-10 07:06:38 +0000
commitcdb801adbf0e1f82d14f0f10744f06ba264b0168 (patch)
tree6e4e20ca7286cb75eae05e0b8fdf6080dc5ae037 /usr.bin/indent
parent3b311fea28c70b3f1789072ab048ee3ccc596875 (diff)
remove my debug code, grrrrr
Diffstat (limited to 'usr.bin/indent')
-rw-r--r--usr.bin/indent/lexi.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/indent/lexi.c b/usr.bin/indent/lexi.c
index 0e1a631b34f..3efbf94fbbd 100644
--- a/usr.bin/indent/lexi.c
+++ b/usr.bin/indent/lexi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lexi.c,v 1.4 1997/09/10 07:01:10 deraadt Exp $ */
+/* $OpenBSD: lexi.c,v 1.5 1997/09/10 07:06:37 deraadt Exp $ */
/*
* Copyright (c) 1985 Sun Microsystems, Inc.
@@ -37,7 +37,7 @@
#ifndef lint
/*static char sccsid[] = "from: @(#)lexi.c 5.16 (Berkeley) 2/26/91";*/
-static char rcsid[] = "$OpenBSD: lexi.c,v 1.4 1997/09/10 07:01:10 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: lexi.c,v 1.5 1997/09/10 07:06:37 deraadt Exp $";
#endif /* not lint */
/*
@@ -565,7 +565,6 @@ addkey(key, val)
/*
* Whoa. Must reallocate special table.
*/
- printf("alloc\n");
nspecials = sizeof (specialsinit) / sizeof (specialsinit[0]);
maxspecials = nspecials;
maxspecials += maxspecials >> 2;
@@ -574,7 +573,6 @@ addkey(key, val)
errx(1, "indent: out of memory");
memmove(specials, specialsinit, sizeof specialsinit);
} else if (nspecials >= maxspecials) {
- printf("realloc\n");
maxspecials += maxspecials >> 2;
specials = realloc(specials, maxspecials * sizeof specials[0]);
if (specials == NULL)