2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-29 13:28:14 +00:00

Get rid of dprintf.

This commit is contained in:
Ted Lemon 2000-09-12 18:38:23 +00:00
parent 950c6a0699
commit beecba1c71

View File

@ -1,5 +1,5 @@
#if !defined(lint) && !defined(SABER) #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 */ #endif /* not lint */
/* /*
@ -73,7 +73,6 @@ struct zonegrp {
static int nscopy(struct sockaddr_in *, const struct sockaddr_in *, int); static int nscopy(struct sockaddr_in *, const struct sockaddr_in *, int);
static int nsprom(struct sockaddr_in *, const struct in_addr *, int); static int nsprom(struct sockaddr_in *, const struct in_addr *, int);
static void dprintf(const char *, ...);
void tkey_free (ns_tsig_key **); void tkey_free (ns_tsig_key **);
@ -216,14 +215,3 @@ nsprom(struct sockaddr_in *dst, const struct in_addr *src, int n) {
} }
return (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);
}