Module Name:    src
Committed By:   christos
Date:           Fri Oct  2 18:17:16 UTC 2009

Modified Files:
        src/usr.bin/xlint/lint1: init.c

Log Message:
change initialization from non const of regular variables to c99 instead of
gnu since c99 now has it.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/usr.bin/xlint/lint1/init.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/xlint/lint1/init.c
diff -u src/usr.bin/xlint/lint1/init.c:1.23 src/usr.bin/xlint/lint1/init.c:1.24
--- src/usr.bin/xlint/lint1/init.c:1.23	Sat Apr 26 12:14:23 2008
+++ src/usr.bin/xlint/lint1/init.c	Fri Oct  2 14:17:16 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: init.c,v 1.23 2008/04/26 16:14:23 christos Exp $	*/
+/*	$NetBSD: init.c,v 1.24 2009/10/02 18:17:16 christos Exp $	*/
 
 /*
  * Copyright (c) 1994, 1995 Jochen Pohl
@@ -37,7 +37,7 @@
 
 #include <sys/cdefs.h>
 #if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: init.c,v 1.23 2008/04/26 16:14:23 christos Exp $");
+__RCSID("$NetBSD: init.c,v 1.24 2009/10/02 18:17:16 christos Exp $");
 #endif
 
 #include <stdlib.h>
@@ -587,7 +587,7 @@
 		if (conaddr(tn, &sym, &offs) == -1) {
 			if (sc == AUTO || sc == REG) {
 				/* non-constant initializer */
-				(void)gnuism(177);
+				(void)c99ism(177);
 			} else {
 				/* non-constant initializer */
 				error(177);

Reply via email to