]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Get rid of dprintf.
authorTed Lemon <source@isc.org>
Tue, 12 Sep 2000 18:38:23 +0000 (18:38 +0000)
committerTed Lemon <source@isc.org>
Tue, 12 Sep 2000 18:38:23 +0000 (18:38 +0000)
minires/res_update.c

index 2e7a3afe7e59e1ee146d5ee8ced505c5e421ca0b..53efffbafdab1f963a2b722c43eb8ab3f24ec1fe 100644 (file)
@@ -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);
-}