diff options
author | Eric Faurot <eric@cvs.openbsd.org> | 2012-07-07 20:41:53 +0000 |
---|---|---|
committer | Eric Faurot <eric@cvs.openbsd.org> | 2012-07-07 20:41:53 +0000 |
commit | 2bf7c20198b1c33a22788fc1b86929b55520099f (patch) | |
tree | db959ae8a2b12aad9dc63ed82d92e74e0e6d795f /lib/libc/asr/asr_debug.c | |
parent | 6cf7fea4e70a610dea5225c8fbb198002544393a (diff) |
rename function to avoid symbol clash
Diffstat (limited to 'lib/libc/asr/asr_debug.c')
-rw-r--r-- | lib/libc/asr/asr_debug.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/libc/asr/asr_debug.c b/lib/libc/asr/asr_debug.c index 98f5fe8e2e9..fcb605dc7e3 100644 --- a/lib/libc/asr/asr_debug.c +++ b/lib/libc/asr/asr_debug.c @@ -1,4 +1,4 @@ -/* $OpenBSD: asr_debug.c,v 1.3 2012/04/25 20:28:25 eric Exp $ */ +/* $OpenBSD: asr_debug.c,v 1.4 2012/07/07 20:41:52 eric Exp $ */ /* * Copyright (c) 2010-2012 Eric Faurot <eric@openbsd.org> * @@ -29,8 +29,6 @@ #include "asr.h" #include "asr_private.h" -char *print_addr(const struct sockaddr *, char *, size_t); - static void asr_vdebug(const char *, va_list); static char *print_dname(const char *, char *, size_t); @@ -281,7 +279,7 @@ print_host(const struct sockaddr *sa, char *buf, size_t len) } char * -print_addr(const struct sockaddr *sa, char *buf, size_t len) +asr_print_addr(const struct sockaddr *sa, char *buf, size_t len) { char h[256]; @@ -379,7 +377,7 @@ asr_dump(struct asr *a) ac->ac_nstimeout, ac->ac_nsretries); for(i = 0; i < ac->ac_nscount; i++) - asr_printf(" %s\n", print_addr(ac->ac_ns[i], buf, + asr_printf(" %s\n", asr_print_addr(ac->ac_ns[i], buf, sizeof buf)); asr_printf("HOSTFILE %s\n", ac->ac_hostfile); asr_printf("LOOKUP"); |