Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/nameser don't compile the libc stuff twice.



details:   https://anonhg.NetBSD.org/src/rev/144fb3d4e519
branches:  trunk
changeset: 782844:144fb3d4e519
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Nov 22 20:22:31 2012 +0000

description:
don't compile the libc stuff twice.

diffstat:

 lib/libc/nameser/ns_samedomain.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r b7284794fbb5 -r 144fb3d4e519 lib/libc/nameser/ns_samedomain.c
--- a/lib/libc/nameser/ns_samedomain.c  Thu Nov 22 20:17:48 2012 +0000
+++ b/lib/libc/nameser/ns_samedomain.c  Thu Nov 22 20:22:31 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ns_samedomain.c,v 1.7 2012/11/15 16:43:30 christos Exp $       */
+/*     $NetBSD: ns_samedomain.c,v 1.8 2012/11/22 20:22:31 christos Exp $       */
 
 /*
  * Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
@@ -22,7 +22,7 @@
 #ifdef notdef
 static const char rcsid[] = "Id: ns_samedomain.c,v 1.6 2005/04/27 04:56:40 sra Exp";
 #else
-__RCSID("$NetBSD: ns_samedomain.c,v 1.7 2012/11/15 16:43:30 christos Exp $");
+__RCSID("$NetBSD: ns_samedomain.c,v 1.8 2012/11/22 20:22:31 christos Exp $");
 #endif
 #endif
 
@@ -157,7 +157,7 @@
        return (ns_samename(a, b) != 1 && ns_samedomain(a, b));
 }
 #endif
-
+#ifdef _LIBC
 /*%
  *     make a canonical copy of domain name "src"
  *
@@ -212,5 +212,5 @@
        else
                return (0);
 }
-
+#endif
 /*! \file */



Home | Main Index | Thread Index | Old Index