From beecba1c71e83bea166d4a6047e021860ff7d6e8 Mon Sep 17 00:00:00 2001 From: Ted Lemon Date: Tue, 12 Sep 2000 18:38:23 +0000 Subject: [PATCH] Get rid of dprintf. --- minires/res_update.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/minires/res_update.c b/minires/res_update.c index 2e7a3afe..53efffba 100644 --- a/minires/res_update.c +++ b/minires/res_update.c @@ -1,5 +1,5 @@ #if !defined(lint) && !defined(SABER) -static const char rcsid[] = "$Id: res_update.c,v 1.8 2000/07/17 20:51:19 mellon Exp $"; +static const char rcsid[] = "$Id: res_update.c,v 1.9 2000/09/12 18:38:23 mellon Exp $"; #endif /* not lint */ /* @@ -73,7 +73,6 @@ struct zonegrp { static int nscopy(struct sockaddr_in *, const struct sockaddr_in *, int); static int nsprom(struct sockaddr_in *, const struct in_addr *, int); -static void dprintf(const char *, ...); void tkey_free (ns_tsig_key **); @@ -216,14 +215,3 @@ nsprom(struct sockaddr_in *dst, const struct in_addr *src, int n) { } return (n); } - -static void -dprintf(const char *fmt, ...) { - va_list ap; - - va_start(ap, fmt); - fputs(";; res_nupdate: ", stderr); - vfprintf(stderr, fmt, ap); - fputc('\n', stderr); - va_end(ap); -}