Module Name: src
Committed By: christos
Date: Wed Apr 14 21:20:02 UTC 2021
Modified Files:
src/usr.bin/xlint/lint1: err.c
Log Message:
gnu enables c11 extensions
To generate a diff of this commit:
cvs rdiff -u -r1.110 -r1.111 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.110 src/usr.bin/xlint/lint1/err.c:1.111
--- src/usr.bin/xlint/lint1/err.c:1.110 Wed Apr 14 16:06:40 2021
+++ src/usr.bin/xlint/lint1/err.c Wed Apr 14 17:20:02 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: err.c,v 1.110 2021/04/14 20:06:40 rillig Exp $ */
+/* $NetBSD: err.c,v 1.111 2021/04/14 21:20:02 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.110 2021/04/14 20:06:40 rillig Exp $");
+__RCSID("$NetBSD: err.c,v 1.111 2021/04/14 21:20:02 christos Exp $");
#endif
#include <sys/types.h>
@@ -617,7 +617,7 @@ void
{
va_list ap;
- if (c11flag)
+ if (c11flag || gflag)
return;
va_start(ap, n);
verror(n, ap);