Source-Changes-HG archive

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

[src/trunk]: src/sys/sys add lint comment



details:   https://anonhg.NetBSD.org/src/rev/8af9b4d7181e
branches:  trunk
changeset: 335669:8af9b4d7181e
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Jan 20 01:02:25 2015 +0000

description:
add lint comment

diffstat:

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

diffs (18 lines):

diff -r dbdd2f7ba32a -r 8af9b4d7181e sys/sys/socket.h
--- a/sys/sys/socket.h  Tue Jan 20 00:52:15 2015 +0000
+++ b/sys/sys/socket.h  Tue Jan 20 01:02:25 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: socket.h,v 1.111 2014/12/02 19:38:16 christos Exp $    */
+/*     $NetBSD: socket.h,v 1.112 2015/01/20 01:02:25 christos Exp $    */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -341,7 +341,7 @@
  * Compute size of a sockcred structure with groups.
  */
 #define        SOCKCREDSIZE(ngrps) \
-       (sizeof(struct sockcred) + (sizeof(gid_t) * \
+       (/*CONSTCOND*/sizeof(struct sockcred) + (sizeof(gid_t) * \
            ((ngrps) ? ((ngrps) - 1) : 0)))
 #endif /* _NETBSD_SOURCE */
 



Home | Main Index | Thread Index | Old Index