Source-Changes-HG archive

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

[src/trunk]: src/sys/sys add a lint(1) comment to nothing.



details:   https://anonhg.NetBSD.org/src/rev/59e4ce800a50
branches:  trunk
changeset: 997095:59e4ce800a50
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Feb 21 21:34:05 2019 +0000

description:
add a lint(1) comment to nothing.

diffstat:

 sys/sys/cdefs.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 44f06959f470 -r 59e4ce800a50 sys/sys/cdefs.h
--- a/sys/sys/cdefs.h   Thu Feb 21 21:33:34 2019 +0000
+++ b/sys/sys/cdefs.h   Thu Feb 21 21:34:05 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cdefs.h,v 1.140 2019/01/27 02:47:26 christos Exp $     */
+/*     $NetBSD: cdefs.h,v 1.141 2019/02/21 21:34:05 christos Exp $     */
 
 /* * Copyright (c) 1991, 1993
  *     The Regents of the University of California.  All rights reserved.
@@ -327,7 +327,7 @@
  * We use ((void)0) instead of do {} while (0) so that it
  * works on , expressions.
  */
-#define __nothing      ((void)0)
+#define __nothing      (/*LINTED*/(void)0)
 
 #if defined(__cplusplus)
 #define        __BEGIN_EXTERN_C        extern "C" {



Home | Main Index | Thread Index | Old Index