diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-05-10 15:26:23 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-05-10 15:26:23 +0000 |
commit | 3e3a017facd4f5bf34cf4f0295c468599de620e9 (patch) | |
tree | 07ef12f44cc21fdae89b20d8d2e4c3afa00daa95 /usr.bin/xlint | |
parent | f451978b4ad9f05aa7b6710d8fd0def4675d09bc (diff) |
using a horrid hack: permit long long. millert ok
Diffstat (limited to 'usr.bin/xlint')
-rw-r--r-- | usr.bin/xlint/lint1/func.c | 6 | ||||
-rw-r--r-- | usr.bin/xlint/lint1/scan.l | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/xlint/lint1/func.c b/usr.bin/xlint/lint1/func.c index 8c020ff9c57..65eabd402f9 100644 --- a/usr.bin/xlint/lint1/func.c +++ b/usr.bin/xlint/lint1/func.c @@ -1,4 +1,4 @@ -/* $OpenBSD: func.c,v 1.4 2001/11/18 20:55:42 deraadt Exp $ */ +/* $OpenBSD: func.c,v 1.5 2004/05/10 15:26:22 deraadt Exp $ */ /* $NetBSD: func.c,v 1.7 1995/10/02 17:31:40 jpo Exp $ */ /* @@ -33,7 +33,7 @@ */ #ifndef lint -static char rcsid[] = "$OpenBSD: func.c,v 1.4 2001/11/18 20:55:42 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: func.c,v 1.5 2004/05/10 15:26:22 deraadt Exp $"; #endif #include <stdlib.h> @@ -133,7 +133,7 @@ int nowarn; * Nonzero if complaints about use of "long long" are suppressed in * the next statement or declaration. */ -int quadflg; +int quadflg = 1; /* * Puts a new element at the top of the stack used for control statements. diff --git a/usr.bin/xlint/lint1/scan.l b/usr.bin/xlint/lint1/scan.l index 56a01745496..af0fab7e43e 100644 --- a/usr.bin/xlint/lint1/scan.l +++ b/usr.bin/xlint/lint1/scan.l @@ -1,5 +1,5 @@ %{ -/* $OpenBSD: scan.l,v 1.5 2002/02/19 19:39:39 millert Exp $ */ +/* $OpenBSD: scan.l,v 1.6 2004/05/10 15:26:22 deraadt Exp $ */ /* $NetBSD: scan.l,v 1.8 1995/10/23 13:38:51 jpo Exp $ */ /* @@ -34,7 +34,7 @@ */ #ifndef lint -static char rcsid[] = "$OpenBSD: scan.l,v 1.5 2002/02/19 19:39:39 millert Exp $"; +static char rcsid[] = "$OpenBSD: scan.l,v 1.6 2004/05/10 15:26:22 deraadt Exp $"; #endif #include <stdlib.h> @@ -1103,7 +1103,7 @@ void clrwflgs() { nowarn = 0; - quadflg = 0; + quadflg = 1; ccflg = 0; } |