summaryrefslogtreecommitdiff
path: root/usr.bin/xlint
diff options
context:
space:
mode:
authorChad Loder <cloder@cvs.openbsd.org>2005-12-07 02:11:27 +0000
committerChad Loder <cloder@cvs.openbsd.org>2005-12-07 02:11:27 +0000
commitc8ac2c022f724d0649541310b2c15deaae089aa5 (patch)
tree1a8815bde75e75322475bc7d867b080cdedc5161 /usr.bin/xlint
parent282b783746660f5ddca78fbeafa4c79416e81e34 (diff)
Remove extra printfs
Diffstat (limited to 'usr.bin/xlint')
-rw-r--r--usr.bin/xlint/lint1/attr.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/usr.bin/xlint/lint1/attr.c b/usr.bin/xlint/lint1/attr.c
index 5296a822e9b..fa4ce2aad1a 100644
--- a/usr.bin/xlint/lint1/attr.c
+++ b/usr.bin/xlint/lint1/attr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: attr.c,v 1.1 2005/12/07 01:55:12 cloder Exp $ */
+/* $OpenBSD: attr.c,v 1.2 2005/12/07 02:11:26 cloder Exp $ */
/*
* Copyright (c) 2005 Chad Loder
@@ -28,7 +28,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: attr.c,v 1.1 2005/12/07 01:55:12 cloder Exp $";
+static char rcsid[] = "$OpenBSD: attr.c,v 1.2 2005/12/07 02:11:26 cloder Exp $";
#endif
#include "lint1.h"
@@ -96,7 +96,6 @@ appendattrnode(attrnode_t *an, attrnode_t *apn)
void
addattr(type_t *t, attrnode_t *an)
{
- printf("adding attribute %p to type %p\n", an, t);
if (t->t_attr == NULL)
t->t_attr = an;
else
@@ -108,8 +107,6 @@ hasattr(type_t *t, attr_t a)
{
attrnode_t *an = t->t_attr;
- printf("seeing if type %p has attribute %d\n", t, a);
-
while (an != NULL) {
if (an->an_attr == a)
return 1;
@@ -117,10 +114,8 @@ hasattr(type_t *t, attr_t a)
an = an->an_nxt;
}
- printf("subtypes of type %p are:\n", t);
while (t != NULL) {
t = t->t_subt;
- printf("\ttype %p\n", t);
}
return 0;