Module Name: src
Committed By: christos
Date: Thu Aug 18 14:42:48 UTC 2016
Modified Files:
src/usr.bin/xlint/lint1: err.c
Log Message:
anonymous members are C9X
To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/usr.bin/xlint/lint1/err.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/err.c
diff -u src/usr.bin/xlint/lint1/err.c:1.49 src/usr.bin/xlint/lint1/err.c:1.50
--- src/usr.bin/xlint/lint1/err.c:1.49 Wed Oct 14 14:31:52 2015
+++ src/usr.bin/xlint/lint1/err.c Thu Aug 18 10:42:48 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: err.c,v 1.49 2015/10/14 18:31:52 christos Exp $ */
+/* $NetBSD: err.c,v 1.50 2016/08/18 14:42:48 christos Exp $ */
/*
* Copyright (c) 1994, 1995 Jochen Pohl
@@ -37,7 +37,7 @@
#include <sys/cdefs.h>
#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: err.c,v 1.49 2015/10/14 18:31:52 christos Exp $");
+__RCSID("$NetBSD: err.c,v 1.50 2016/08/18 14:42:48 christos Exp $");
#endif
#include <sys/types.h>
@@ -108,7 +108,7 @@ const char *msgs[] = {
"(%s) tag redeclared", /* 46 */
"zero sized %s is a C9X feature", /* 47 */
"overflow in enumeration values: %s", /* 48 */
- "struct or union member must be named", /* 49 */
+ "anonymous struct/union members is a C9X feature", /* 49 */
"a function is declared as an argument: %s", /* 50 */
"parameter mismatch: %d declared, %d defined", /* 51 */
"cannot initialize parameter: %s", /* 52 */