Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/net add constcond lint directive



details:   https://anonhg.NetBSD.org/src/rev/5859da95a8bf
branches:  trunk
changeset: 494396:5859da95a8bf
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Jul 06 03:00:39 2000 +0000

description:
add constcond lint directive

diffstat:

 lib/libc/net/res_mkquery.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 94b8252cd569 -r 5859da95a8bf lib/libc/net/res_mkquery.c
--- a/lib/libc/net/res_mkquery.c        Thu Jul 06 03:00:16 2000 +0000
+++ b/lib/libc/net/res_mkquery.c        Thu Jul 06 03:00:39 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: res_mkquery.c,v 1.18 2000/04/25 13:57:08 itojun Exp $  */
+/*     $NetBSD: res_mkquery.c,v 1.19 2000/07/06 03:00:39 christos Exp $        */
 
 /*-
  * Copyright (c) 1985, 1993
@@ -59,7 +59,7 @@
 static char sccsid[] = "@(#)res_mkquery.c      8.1 (Berkeley) 6/4/93";
 static char rcsid[] = "Id: res_mkquery.c,v 8.5 1996/08/27 08:33:28 vixie Exp ";
 #else
-__RCSID("$NetBSD: res_mkquery.c,v 1.18 2000/04/25 13:57:08 itojun Exp $");
+__RCSID("$NetBSD: res_mkquery.c,v 1.19 2000/07/06 03:00:39 christos Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -118,6 +118,7 @@
        /*
         * Initialize header fields.
         */
+       /*CONSTCOND*/
        if (sizeof(HEADER) != HFIXEDSZ) {
                /* XXX should raise compile time error, not runtime error */
 #ifdef DEBUG



Home | Main Index | Thread Index | Old Index