Module Name:    src
Committed By:   rillig
Date:           Sun Feb 27 11:40:30 UTC 2022

Modified Files:
        src/tests/usr.bin/xlint/lint1: d_c9x_recursive_init.c decl_struct_c90.c
            decl_struct_c90.exp init_c90.c init_c90.exp msg_047.c msg_049.c
            msg_049.exp msg_313.c msg_317.c msg_319.c msg_321.c
        src/usr.bin/xlint/lint1: cgram.y decl.c err.c main1.c tree.c
        src/usr.bin/xlint/xlint: lint.1

Log Message:
lint: C99 has been released, so refer to it by its proper name


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/usr.bin/xlint/lint1/d_c9x_recursive_init.c \
    src/tests/usr.bin/xlint/lint1/decl_struct_c90.c \
    src/tests/usr.bin/xlint/lint1/decl_struct_c90.exp \
    src/tests/usr.bin/xlint/lint1/msg_049.c \
    src/tests/usr.bin/xlint/lint1/msg_049.exp
cvs rdiff -u -r1.2 -r1.3 src/tests/usr.bin/xlint/lint1/init_c90.c \
    src/tests/usr.bin/xlint/lint1/init_c90.exp \
    src/tests/usr.bin/xlint/lint1/msg_047.c \
    src/tests/usr.bin/xlint/lint1/msg_313.c \
    src/tests/usr.bin/xlint/lint1/msg_317.c \
    src/tests/usr.bin/xlint/lint1/msg_319.c \
    src/tests/usr.bin/xlint/lint1/msg_321.c
cvs rdiff -u -r1.384 -r1.385 src/usr.bin/xlint/lint1/cgram.y
cvs rdiff -u -r1.249 -r1.250 src/usr.bin/xlint/lint1/decl.c
cvs rdiff -u -r1.152 -r1.153 src/usr.bin/xlint/lint1/err.c
cvs rdiff -u -r1.58 -r1.59 src/usr.bin/xlint/lint1/main1.c
cvs rdiff -u -r1.408 -r1.409 src/usr.bin/xlint/lint1/tree.c
cvs rdiff -u -r1.49 -r1.50 src/usr.bin/xlint/xlint/lint.1

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

Modified files:

Index: src/tests/usr.bin/xlint/lint1/d_c9x_recursive_init.c
diff -u src/tests/usr.bin/xlint/lint1/d_c9x_recursive_init.c:1.3 src/tests/usr.bin/xlint/lint1/d_c9x_recursive_init.c:1.4
--- src/tests/usr.bin/xlint/lint1/d_c9x_recursive_init.c:1.3	Sat Feb 20 22:31:20 2021
+++ src/tests/usr.bin/xlint/lint1/d_c9x_recursive_init.c	Sun Feb 27 11:40:30 2022
@@ -1,7 +1,7 @@
-/*	$NetBSD: d_c9x_recursive_init.c,v 1.3 2021/02/20 22:31:20 rillig Exp $	*/
+/*	$NetBSD: d_c9x_recursive_init.c,v 1.4 2022/02/27 11:40:30 rillig Exp $	*/
 # 3 "d_c9x_recursive_init.c"
 
-/* C9X struct/union member init, with nested union and trailing member */
+/* C99 struct/union member init, with nested union and trailing member */
 union node {
 	void *next;
 	char *data;
Index: src/tests/usr.bin/xlint/lint1/decl_struct_c90.c
diff -u src/tests/usr.bin/xlint/lint1/decl_struct_c90.c:1.3 src/tests/usr.bin/xlint/lint1/decl_struct_c90.c:1.4
--- src/tests/usr.bin/xlint/lint1/decl_struct_c90.c:1.3	Thu Jul 15 21:00:05 2021
+++ src/tests/usr.bin/xlint/lint1/decl_struct_c90.c	Sun Feb 27 11:40:30 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: decl_struct_c90.c,v 1.3 2021/07/15 21:00:05 rillig Exp $	*/
+/*	$NetBSD: decl_struct_c90.c,v 1.4 2022/02/27 11:40:30 rillig Exp $	*/
 # 3 "decl_struct_c90.c"
 
 /*
@@ -14,7 +14,7 @@ struct unnamed_member {
 		void *b_value;
 		void (*c_value)(void);
 	};
-	/* expect-1: warning: anonymous struct/union members is a C9X feature [49] */
+	/* expect-1: warning: anonymous struct/union members is a C11 feature [49] */
 };
 
 /*
Index: src/tests/usr.bin/xlint/lint1/decl_struct_c90.exp
diff -u src/tests/usr.bin/xlint/lint1/decl_struct_c90.exp:1.3 src/tests/usr.bin/xlint/lint1/decl_struct_c90.exp:1.4
--- src/tests/usr.bin/xlint/lint1/decl_struct_c90.exp:1.3	Thu Jul 15 21:00:05 2021
+++ src/tests/usr.bin/xlint/lint1/decl_struct_c90.exp	Sun Feb 27 11:40:30 2022
@@ -1,3 +1,3 @@
-decl_struct_c90.c(16): warning: anonymous struct/union members is a C9X feature [49]
+decl_struct_c90.c(16): warning: anonymous struct/union members is a C11 feature [49]
 decl_struct_c90.c(29): error: syntax error '}' [249]
 decl_struct_c90.c(32): error: cannot recover from previous errors [224]
Index: src/tests/usr.bin/xlint/lint1/msg_049.c
diff -u src/tests/usr.bin/xlint/lint1/msg_049.c:1.3 src/tests/usr.bin/xlint/lint1/msg_049.c:1.4
--- src/tests/usr.bin/xlint/lint1/msg_049.c:1.3	Fri Aug 27 20:16:50 2021
+++ src/tests/usr.bin/xlint/lint1/msg_049.c	Sun Feb 27 11:40:30 2022
@@ -1,7 +1,7 @@
-/*	$NetBSD: msg_049.c,v 1.3 2021/08/27 20:16:50 rillig Exp $	*/
+/*	$NetBSD: msg_049.c,v 1.4 2022/02/27 11:40:30 rillig Exp $	*/
 # 3 "msg_049.c"
 
-/* Test for message: anonymous struct/union members is a C9X feature [49] */
+/* Test for message: anonymous struct/union members is a C11 feature [49] */
 
 /* lint1-flags: -sw */
 
@@ -23,5 +23,5 @@ struct {
 		int int_value;
 		void *pointer_value;
 	};
-	/* expect-1: warning: anonymous struct/union members is a C9X feature [49] */
+	/* expect-1: warning: anonymous struct/union members is a C11 feature [49] */
 } s;
Index: src/tests/usr.bin/xlint/lint1/msg_049.exp
diff -u src/tests/usr.bin/xlint/lint1/msg_049.exp:1.3 src/tests/usr.bin/xlint/lint1/msg_049.exp:1.4
--- src/tests/usr.bin/xlint/lint1/msg_049.exp:1.3	Fri Aug 27 20:16:50 2021
+++ src/tests/usr.bin/xlint/lint1/msg_049.exp	Sun Feb 27 11:40:30 2022
@@ -1 +1 @@
-msg_049.c(25): warning: anonymous struct/union members is a C9X feature [49]
+msg_049.c(25): warning: anonymous struct/union members is a C11 feature [49]

Index: src/tests/usr.bin/xlint/lint1/init_c90.c
diff -u src/tests/usr.bin/xlint/lint1/init_c90.c:1.2 src/tests/usr.bin/xlint/lint1/init_c90.c:1.3
--- src/tests/usr.bin/xlint/lint1/init_c90.c:1.2	Wed Jul 14 20:39:13 2021
+++ src/tests/usr.bin/xlint/lint1/init_c90.c	Sun Feb 27 11:40:30 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: init_c90.c,v 1.2 2021/07/14 20:39:13 rillig Exp $	*/
+/*	$NetBSD: init_c90.c,v 1.3 2022/02/27 11:40:30 rillig Exp $	*/
 # 3 "init_c90.c"
 
 /*
@@ -14,17 +14,17 @@ struct point {
 };
 
 struct point point_c90 = { 0, 0 };
-/* expect+2: warning: struct or union member name in initializer is a C9X feature [313] */
-/* expect+1: warning: struct or union member name in initializer is a C9X feature [313] */
+/* expect+2: warning: struct or union member name in initializer is a C99 feature [313] */
+/* expect+1: warning: struct or union member name in initializer is a C99 feature [313] */
 struct point point_c99 = { .x = 0, .y = 0 };
 
 struct point points_c90[] = {{ 0, 0 }};
-/* expect+1: warning: array initializer with designators is a C9X feature [321] */
+/* expect+1: warning: array initializer with designators is a C99 feature [321] */
 struct point points_c99[] = {[3] = { 0, 0 }};
 
 
 struct point
 compound_literal(void) {
-	/* expect+1: compound literals are a C9X/GCC extension [319] */
+	/* expect+1: compound literals are a C99/GCC extension [319] */
 	return (struct point){ 0, 0 };
 }
Index: src/tests/usr.bin/xlint/lint1/init_c90.exp
diff -u src/tests/usr.bin/xlint/lint1/init_c90.exp:1.2 src/tests/usr.bin/xlint/lint1/init_c90.exp:1.3
--- src/tests/usr.bin/xlint/lint1/init_c90.exp:1.2	Wed Jul 14 20:39:13 2021
+++ src/tests/usr.bin/xlint/lint1/init_c90.exp	Sun Feb 27 11:40:30 2022
@@ -1,4 +1,4 @@
-init_c90.c(19): warning: struct or union member name in initializer is a C9X feature [313]
-init_c90.c(19): warning: struct or union member name in initializer is a C9X feature [313]
-init_c90.c(23): warning: array initializer with designators is a C9X feature [321]
-init_c90.c(29): error: compound literals are a C9X/GCC extension [319]
+init_c90.c(19): warning: struct or union member name in initializer is a C99 feature [313]
+init_c90.c(19): warning: struct or union member name in initializer is a C99 feature [313]
+init_c90.c(23): warning: array initializer with designators is a C99 feature [321]
+init_c90.c(29): error: compound literals are a C99/GCC extension [319]
Index: src/tests/usr.bin/xlint/lint1/msg_047.c
diff -u src/tests/usr.bin/xlint/lint1/msg_047.c:1.2 src/tests/usr.bin/xlint/lint1/msg_047.c:1.3
--- src/tests/usr.bin/xlint/lint1/msg_047.c:1.2	Sun Feb 21 09:07:58 2021
+++ src/tests/usr.bin/xlint/lint1/msg_047.c	Sun Feb 27 11:40:30 2022
@@ -1,7 +1,7 @@
-/*	$NetBSD: msg_047.c,v 1.2 2021/02/21 09:07:58 rillig Exp $	*/
+/*	$NetBSD: msg_047.c,v 1.3 2022/02/27 11:40:30 rillig Exp $	*/
 # 3 "msg_047.c"
 
-// Test for message: zero sized %s is a C9X feature [47]
+// Test for message: zero sized %s is a C99 feature [47]
 
 TODO: "Add example code that triggers the above message." /* expect: 249 */
 TODO: "Add example code that almost triggers the above message."
Index: src/tests/usr.bin/xlint/lint1/msg_313.c
diff -u src/tests/usr.bin/xlint/lint1/msg_313.c:1.2 src/tests/usr.bin/xlint/lint1/msg_313.c:1.3
--- src/tests/usr.bin/xlint/lint1/msg_313.c:1.2	Sun Feb 21 09:07:58 2021
+++ src/tests/usr.bin/xlint/lint1/msg_313.c	Sun Feb 27 11:40:30 2022
@@ -1,7 +1,7 @@
-/*	$NetBSD: msg_313.c,v 1.2 2021/02/21 09:07:58 rillig Exp $	*/
+/*	$NetBSD: msg_313.c,v 1.3 2022/02/27 11:40:30 rillig Exp $	*/
 # 3 "msg_313.c"
 
-// Test for message: struct or union member name in initializer is a C9X feature [313]
+// Test for message: struct or union member name in initializer is a C99 feature [313]
 
 TODO: "Add example code that triggers the above message." /* expect: 249 */
 TODO: "Add example code that almost triggers the above message."
Index: src/tests/usr.bin/xlint/lint1/msg_317.c
diff -u src/tests/usr.bin/xlint/lint1/msg_317.c:1.2 src/tests/usr.bin/xlint/lint1/msg_317.c:1.3
--- src/tests/usr.bin/xlint/lint1/msg_317.c:1.2	Sun Feb 21 09:07:58 2021
+++ src/tests/usr.bin/xlint/lint1/msg_317.c	Sun Feb 27 11:40:30 2022
@@ -1,7 +1,7 @@
-/*	$NetBSD: msg_317.c,v 1.2 2021/02/21 09:07:58 rillig Exp $	*/
+/*	$NetBSD: msg_317.c,v 1.3 2022/02/27 11:40:30 rillig Exp $	*/
 # 3 "msg_317.c"
 
-// Test for message: __func__ is a C9X feature [317]
+// Test for message: __func__ is a C99 feature [317]
 
 TODO: "Add example code that triggers the above message." /* expect: 249 */
 TODO: "Add example code that almost triggers the above message."
Index: src/tests/usr.bin/xlint/lint1/msg_319.c
diff -u src/tests/usr.bin/xlint/lint1/msg_319.c:1.2 src/tests/usr.bin/xlint/lint1/msg_319.c:1.3
--- src/tests/usr.bin/xlint/lint1/msg_319.c:1.2	Sun Feb 21 09:07:58 2021
+++ src/tests/usr.bin/xlint/lint1/msg_319.c	Sun Feb 27 11:40:30 2022
@@ -1,7 +1,7 @@
-/*	$NetBSD: msg_319.c,v 1.2 2021/02/21 09:07:58 rillig Exp $	*/
+/*	$NetBSD: msg_319.c,v 1.3 2022/02/27 11:40:30 rillig Exp $	*/
 # 3 "msg_319.c"
 
-// Test for message: compound literals are a C9X/GCC extension [319]
+// Test for message: compound literals are a C99/GCC extension [319]
 
 TODO: "Add example code that triggers the above message." /* expect: 249 */
 TODO: "Add example code that almost triggers the above message."
Index: src/tests/usr.bin/xlint/lint1/msg_321.c
diff -u src/tests/usr.bin/xlint/lint1/msg_321.c:1.2 src/tests/usr.bin/xlint/lint1/msg_321.c:1.3
--- src/tests/usr.bin/xlint/lint1/msg_321.c:1.2	Sun Feb 21 09:07:58 2021
+++ src/tests/usr.bin/xlint/lint1/msg_321.c	Sun Feb 27 11:40:30 2022
@@ -1,7 +1,7 @@
-/*	$NetBSD: msg_321.c,v 1.2 2021/02/21 09:07:58 rillig Exp $	*/
+/*	$NetBSD: msg_321.c,v 1.3 2022/02/27 11:40:30 rillig Exp $	*/
 # 3 "msg_321.c"
 
-// Test for message: array initializer with designators is a C9X feature [321]
+// Test for message: array initializer with designators is a C99 feature [321]
 
 TODO: "Add example code that triggers the above message." /* expect: 249 */
 TODO: "Add example code that almost triggers the above message."

Index: src/usr.bin/xlint/lint1/cgram.y
diff -u src/usr.bin/xlint/lint1/cgram.y:1.384 src/usr.bin/xlint/lint1/cgram.y:1.385
--- src/usr.bin/xlint/lint1/cgram.y:1.384	Sun Feb 27 11:14:42 2022
+++ src/usr.bin/xlint/lint1/cgram.y	Sun Feb 27 11:40:29 2022
@@ -1,5 +1,5 @@
 %{
-/* $NetBSD: cgram.y,v 1.384 2022/02/27 11:14:42 rillig Exp $ */
+/* $NetBSD: cgram.y,v 1.385 2022/02/27 11:40:29 rillig Exp $ */
 
 /*
  * Copyright (c) 1996 Christopher G. Demetriou.  All Rights Reserved.
@@ -35,7 +35,7 @@
 
 #include <sys/cdefs.h>
 #if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: cgram.y,v 1.384 2022/02/27 11:14:42 rillig Exp $");
+__RCSID("$NetBSD: cgram.y,v 1.385 2022/02/27 11:40:29 rillig Exp $");
 #endif
 
 #include <limits.h>
@@ -512,7 +512,7 @@ postfix_expression:
 		cgram_declare(tmp, true, NULL);
 	  } init_lbrace initializer_list comma_opt init_rbrace {
 		if (!Sflag)
-			 /* compound literals are a C9X/GCC extension */
+			 /* compound literals are a C99/GCC extension */
 			 gnuism(319);
 		$$ = build_name(*current_initsym(), false);
 		end_initialization();
@@ -990,7 +990,7 @@ struct_declaration:		/* C99 6.7.2.1 */
 	    T_SEMI {
 		symtyp = FVFT;
 		if (!Sflag)
-			/* anonymous struct/union members is a C9X feature */
+			/* anonymous struct/union members is a C11 feature */
 			warning(49);
 		if (is_struct_or_union(dcs->d_type->t_tspec)) {
 			$$ = dcs->d_type->t_str->sou_first_member;
@@ -1581,7 +1581,7 @@ designator:			/* C99 6.7.8 "Initializati
 	  T_LBRACK range T_RBRACK {
 		add_designator_subscript($2);
 		if (!Sflag)
-			/* array initializer with designators is a C9X ... */
+			/* array initializer with designators is a C99 ... */
 			warning(321);
 	  }
 	| T_POINT identifier {

Index: src/usr.bin/xlint/lint1/decl.c
diff -u src/usr.bin/xlint/lint1/decl.c:1.249 src/usr.bin/xlint/lint1/decl.c:1.250
--- src/usr.bin/xlint/lint1/decl.c:1.249	Sun Feb 27 11:14:42 2022
+++ src/usr.bin/xlint/lint1/decl.c	Sun Feb 27 11:40:29 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: decl.c,v 1.249 2022/02/27 11:14:42 rillig Exp $ */
+/* $NetBSD: decl.c,v 1.250 2022/02/27 11:40:29 rillig Exp $ */
 
 /*
  * Copyright (c) 1996 Christopher G. Demetriou.  All Rights Reserved.
@@ -38,7 +38,7 @@
 
 #include <sys/cdefs.h>
 #if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: decl.c,v 1.249 2022/02/27 11:14:42 rillig Exp $");
+__RCSID("$NetBSD: decl.c,v 1.250 2022/02/27 11:40:29 rillig Exp $");
 #endif
 
 #include <sys/param.h>
@@ -1803,7 +1803,7 @@ complete_tag_struct_or_union(type_t *tp,
 		sp->sou_size_in_bits = dcs->d_offset;
 
 	if (sp->sou_size_in_bits == 0) {
-		/* zero sized %s is a C9X feature */
+		/* zero sized %s is a C99 feature */
 		c99ism(47, ttab[t].tt_name);
 	}
 

Index: src/usr.bin/xlint/lint1/err.c
diff -u src/usr.bin/xlint/lint1/err.c:1.152 src/usr.bin/xlint/lint1/err.c:1.153
--- src/usr.bin/xlint/lint1/err.c:1.152	Mon Feb  7 02:44:49 2022
+++ src/usr.bin/xlint/lint1/err.c	Sun Feb 27 11:40:29 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: err.c,v 1.152 2022/02/07 02:44:49 rillig Exp $	*/
+/*	$NetBSD: err.c,v 1.153 2022/02/27 11:40:29 rillig 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.152 2022/02/07 02:44:49 rillig Exp $");
+__RCSID("$NetBSD: err.c,v 1.153 2022/02/27 11:40:29 rillig Exp $");
 #endif
 
 #include <sys/types.h>
@@ -101,9 +101,9 @@ const char *const msgs[] = {
 	"declaration introduces new type in ANSI C: %s %s",	      /* 44 */
 	"base type is really '%s %s'",				      /* 45 */
 	"%s tag '%s' redeclared as %s",				      /* 46 */
-	"zero sized %s is a C9X feature",			      /* 47 */
+	"zero sized %s is a C99 feature",			      /* 47 */
 	"overflow in enumeration values: %s",			      /* 48 */
-	"anonymous struct/union members is a C9X feature",	      /* 49 */
+	"anonymous struct/union members is a C11 feature",	      /* 49 */
 	"a function is declared as an argument: %s",		      /* 50 */
 	"parameter mismatch: %d declared, %d defined",		      /* 51 */
 	"cannot initialize parameter: %s",			      /* 52 */
@@ -367,15 +367,15 @@ const char *const msgs[] = {
 	"symbol renaming can't be used on function arguments",	      /* 310 */
 	"symbol renaming can't be used on automatic variables",	      /* 311 */
 	"%s does not support // comments",			      /* 312 */
-	"struct or union member name in initializer is a C9X feature",/* 313 */
+	"struct or union member name in initializer is a C99 feature",/* 313 */
 	"%s is not a structure or a union",			      /* 314 */
 	"GCC style struct or union member name in initializer",	      /* 315 */
 	"__FUNCTION__/__PRETTY_FUNCTION__ is a GCC extension",	      /* 316 */
-	"__func__ is a C9X feature",				      /* 317 */
+	"__func__ is a C99 feature",				      /* 317 */
 	"variable array dimension is a C99/GCC extension",	      /* 318 */
-	"compound literals are a C9X/GCC extension",		      /* 319 */
+	"compound literals are a C99/GCC extension",		      /* 319 */
 	"({ }) is a GCC extension",				      /* 320 */
-	"array initializer with designators is a C9X feature",	      /* 321 */
+	"array initializer with designators is a C99 feature",	      /* 321 */
 	"zero sized array is a C99 extension",			      /* 322 */
 	"continue in 'do ... while (0)' loop",			      /* 323 */
 	"suggest cast from '%s' to '%s' on op %s to avoid overflow",  /* 324 */

Index: src/usr.bin/xlint/lint1/main1.c
diff -u src/usr.bin/xlint/lint1/main1.c:1.58 src/usr.bin/xlint/lint1/main1.c:1.59
--- src/usr.bin/xlint/lint1/main1.c:1.58	Fri Dec 17 00:05:24 2021
+++ src/usr.bin/xlint/lint1/main1.c	Sun Feb 27 11:40:29 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: main1.c,v 1.58 2021/12/17 00:05:24 rillig Exp $	*/
+/*	$NetBSD: main1.c,v 1.59 2022/02/27 11:40:29 rillig Exp $	*/
 
 /*
  * Copyright (c) 1994, 1995 Jochen Pohl
@@ -37,7 +37,7 @@
 
 #include <sys/cdefs.h>
 #if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: main1.c,v 1.58 2021/12/17 00:05:24 rillig Exp $");
+__RCSID("$NetBSD: main1.c,v 1.59 2022/02/27 11:40:29 rillig Exp $");
 #endif
 
 #include <sys/types.h>
@@ -106,7 +106,7 @@ bool	Tflag;
 /* Traditional C mode. */
 bool	tflag;
 
-/* Enable C9X extensions */
+/* Enable C99 extensions */
 bool	Sflag;
 
 /* Picky flag */

Index: src/usr.bin/xlint/lint1/tree.c
diff -u src/usr.bin/xlint/lint1/tree.c:1.408 src/usr.bin/xlint/lint1/tree.c:1.409
--- src/usr.bin/xlint/lint1/tree.c:1.408	Sun Feb 27 11:14:42 2022
+++ src/usr.bin/xlint/lint1/tree.c	Sun Feb 27 11:40:29 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: tree.c,v 1.408 2022/02/27 11:14:42 rillig Exp $	*/
+/*	$NetBSD: tree.c,v 1.409 2022/02/27 11:40:29 rillig Exp $	*/
 
 /*
  * Copyright (c) 1994, 1995 Jochen Pohl
@@ -37,7 +37,7 @@
 
 #include <sys/cdefs.h>
 #if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: tree.c,v 1.408 2022/02/27 11:14:42 rillig Exp $");
+__RCSID("$NetBSD: tree.c,v 1.409 2022/02/27 11:40:29 rillig Exp $");
 #endif
 
 #include <float.h>
@@ -180,7 +180,7 @@ fallback_symbol(sym_t *sym)
 
 	if (block_level > 0 && strcmp(sym->s_name, "__func__") == 0) {
 		if (!Sflag)
-			/* __func__ is a C9X feature */
+			/* __func__ is a C99 feature */
 			warning(317);
 		sym->s_type = block_derive_type(gettyp(CHAR), PTR);
 		sym->s_type->t_const = true;

Index: src/usr.bin/xlint/xlint/lint.1
diff -u src/usr.bin/xlint/xlint/lint.1:1.49 src/usr.bin/xlint/xlint/lint.1:1.50
--- src/usr.bin/xlint/xlint/lint.1:1.49	Tue Dec 14 16:55:45 2021
+++ src/usr.bin/xlint/xlint/lint.1	Sun Feb 27 11:40:29 2022
@@ -1,4 +1,4 @@
-.\" $NetBSD: lint.1,v 1.49 2021/12/14 16:55:45 christos Exp $
+.\" $NetBSD: lint.1,v 1.50 2022/02/27 11:40:29 rillig Exp $
 .\"
 .\" Copyright (c) 1996 Christopher G. Demetriou.  All Rights Reserved.
 .\" Copyright (c) 1994, 1995 Jochen Pohl
@@ -344,7 +344,7 @@ for reproducible builds.
 .It Fl r
 In case of redeclarations, report the position of the previous declaration.
 .It Fl S
-C9X mode.
+C99 mode.
 Currently not fully implemented.
 .It Fl s
 Strict ANSI C89/ISO C90 mode.

Reply via email to