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 where appropriate
details: https://anonhg.NetBSD.org/src/rev/39cb05500c92
branches: trunk
changeset: 494384:39cb05500c92
user: christos <christos%NetBSD.org@localhost>
date: Thu Jul 06 02:52:07 2000 +0000
description:
add CONSTCOND where appropriate
diffstat:
lib/libc/net/gethnamaddr.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r a663a321397d -r 39cb05500c92 lib/libc/net/gethnamaddr.c
--- a/lib/libc/net/gethnamaddr.c Thu Jul 06 02:50:35 2000 +0000
+++ b/lib/libc/net/gethnamaddr.c Thu Jul 06 02:52:07 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gethnamaddr.c,v 1.33 2000/05/23 07:03:10 tron Exp $ */
+/* $NetBSD: gethnamaddr.c,v 1.34 2000/07/06 02:52:07 christos Exp $ */
/*
* ++Copyright++ 1985, 1988, 1993
@@ -61,7 +61,7 @@
static char sccsid[] = "@(#)gethostnamadr.c 8.1 (Berkeley) 6/4/93";
static char rcsid[] = "Id: gethnamaddr.c,v 8.21 1997/06/01 20:34:37 vixie Exp ";
#else
-__RCSID("$NetBSD: gethnamaddr.c,v 1.33 2000/05/23 07:03:10 tron Exp $");
+__RCSID("$NetBSD: gethnamaddr.c,v 1.34 2000/07/06 02:52:07 christos Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@@ -216,7 +216,7 @@
h_errno = NO_RECOVERY; \
return (NULL); \
} \
- } while (0)
+ } while (/*CONSTCOND*/0)
#define BOUNDS_CHECK(ptr, count) \
do { \
@@ -224,7 +224,7 @@
h_errno = NO_RECOVERY; \
return (NULL); \
} \
- } while (0)
+ } while (/*CONSTCOND*/0)
static struct hostent *
getanswer(answer, anslen, qname, qtype)
Home |
Main Index |
Thread Index |
Old Index