Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/xlint/lint1 gnu enables c11 extensions



details:   https://anonhg.NetBSD.org/src/rev/254ac57188c0
branches:  trunk
changeset: 1020523:254ac57188c0
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Apr 14 21:20:02 2021 +0000

description:
gnu enables c11 extensions

diffstat:

 usr.bin/xlint/lint1/err.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r b4f1080378a0 -r 254ac57188c0 usr.bin/xlint/lint1/err.c
--- a/usr.bin/xlint/lint1/err.c Wed Apr 14 20:35:31 2021 +0000
+++ b/usr.bin/xlint/lint1/err.c Wed Apr 14 21:20:02 2021 +0000
@@ -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 @@
 {
        va_list ap;
 
-       if (c11flag)
+       if (c11flag || gflag)
                return;
        va_start(ap, n);
        verror(n, ap);



Home | Main Index | Thread Index | Old Index