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 put back nonnull. I meant to just sort it.



details:   https://anonhg.NetBSD.org/src/rev/de3f84e05edb
branches:  trunk
changeset: 378947:de3f84e05edb
user:      christos <christos%NetBSD.org@localhost>
date:      Sat May 01 00:08:44 2021 +0000

description:
put back nonnull. I meant to just sort it.

diffstat:

 usr.bin/xlint/lint1/lex.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 3d6639295929 -r de3f84e05edb usr.bin/xlint/lint1/lex.c
--- a/usr.bin/xlint/lint1/lex.c Fri Apr 30 23:49:36 2021 +0000
+++ b/usr.bin/xlint/lint1/lex.c Sat May 01 00:08:44 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lex.c,v 1.30 2021/04/30 19:46:24 christos Exp $ */
+/* $NetBSD: lex.c,v 1.31 2021/05/01 00:08:44 christos 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: lex.c,v 1.30 2021/04/30 19:46:24 christos Exp $");
+__RCSID("$NetBSD: lex.c,v 1.31 2021/05/01 00:08:44 christos Exp $");
 #endif
 
 #include <ctype.h>
@@ -190,6 +190,7 @@ static      struct  kwtab {
        kwdef_token(    "no_instrument_function",
                                T_AT_NO_INSTRUMENT_FUNCTION,    0,0,1,1,5),
        kwdef_token(    "noinline",     T_AT_NOINLINE,          0,0,1,1,5),
+       kwdef_token(    "nonnull",      T_AT_NONNULL,           0,0,1,1,5),
        kwdef_token(    "nonstring",    T_AT_NONSTRING,         0,0,1,1,5),
        kwdef_token(    "noreturn",     T_AT_NORETURN,          0,0,1,1,5),
        kwdef_token(    "nothrow",      T_AT_NOTHROW,           0,0,1,1,5),



Home | Main Index | Thread Index | Old Index