summaryrefslogtreecommitdiff
path: root/interface.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-04-04 00:43:46 -0700
committerGuy Harris <guy@alum.mit.edu>2014-04-04 00:43:46 -0700
commit1cde6435df23876fb88998e38739def0dc7dca47 (patch)
treebdd17f2de3c9b1588da3ef07daf803f51761db0c /interface.h
parented58b28d5400642cbd797e280d12b3f1b638e850 (diff)
downloadtcpdump-1cde6435df23876fb88998e38739def0dc7dca47.tar.gz
Netdissectify the to-name resolution routines.
Have them take a netdissect_options * argument, and get the "no name resolution" flag from it. Move the declaration of dnaddr_string to addrtoname.h, along with the other XXX-to-string routines.
Diffstat (limited to 'interface.h')
-rw-r--r--interface.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/interface.h b/interface.h
index d08f9880..2b68c409 100644
--- a/interface.h
+++ b/interface.h
@@ -124,8 +124,6 @@ extern int mask2plen(u_int32_t);
extern const char *tok2strary_internal(const char **, int, const char *, int);
#define tok2strary(a,f,i) tok2strary_internal(a, sizeof(a)/sizeof(a[0]),f,i)
-extern const char *dnaddr_string(u_short);
-
extern void error(const char *, ...)
__attribute__((noreturn))
#ifdef __ATTRIBUTE___FORMAT_OK