Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/resolv Remove unused macro



details:   https://anonhg.NetBSD.org/src/rev/ad6f744b7f8a
branches:  trunk
changeset: 995254:ad6f744b7f8a
user:      maya <maya%NetBSD.org@localhost>
date:      Thu Dec 13 08:45:29 2018 +0000

description:
Remove unused macro

diffstat:

 lib/libc/resolv/res_debug.c |  10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diffs (31 lines):

diff -r 7bb91d5fe60a -r ad6f744b7f8a lib/libc/resolv/res_debug.c
--- a/lib/libc/resolv/res_debug.c       Thu Dec 13 08:39:34 2018 +0000
+++ b/lib/libc/resolv/res_debug.c       Thu Dec 13 08:45:29 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: res_debug.c,v 1.14 2015/02/24 17:56:20 christos Exp $  */
+/*     $NetBSD: res_debug.c,v 1.15 2018/12/13 08:45:29 maya Exp $      */
 
 /*
  * Portions Copyright (C) 2004, 2005, 2008, 2009  Internet Systems Consortium, Inc. ("ISC")
@@ -97,7 +97,7 @@
 static const char sccsid[] = "@(#)res_debug.c  8.1 (Berkeley) 6/4/93";
 static const char rcsid[] = "Id: res_debug.c,v 1.19 2009/02/26 11:20:20 tbox Exp";
 #else
-__RCSID("$NetBSD: res_debug.c,v 1.14 2015/02/24 17:56:20 christos Exp $");
+__RCSID("$NetBSD: res_debug.c,v 1.15 2018/12/13 08:45:29 maya Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -126,12 +126,6 @@
 
 #include "port_after.h"
 
-#ifdef SPRINTF_CHAR
-# define SPRINTF(x) strlen(sprintf/**/x)
-#else
-# define SPRINTF(x) sprintf x
-#endif
-
 extern const char *_res_opcodes[];
 extern const char *_res_sectioncodes[];
 



Home | Main Index | Thread Index | Old Index