From c8ac2c022f724d0649541310b2c15deaae089aa5 Mon Sep 17 00:00:00 2001 From: Chad Loder Date: Wed, 7 Dec 2005 02:11:27 +0000 Subject: Remove extra printfs --- usr.bin/xlint/lint1/attr.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'usr.bin') 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; -- cgit v1.2.3