diff options
Diffstat (limited to 'nametoaddr.c')
-rw-r--r-- | nametoaddr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nametoaddr.c b/nametoaddr.c index a749b8e6..087d14be 100644 --- a/nametoaddr.c +++ b/nametoaddr.c @@ -550,7 +550,7 @@ struct eproto { * warnings we might get from compilers about the lack of a * declaration. */ -extern struct eproto eproto_db[]; +PCAP_API struct eproto eproto_db[]; PCAP_API_DEF struct eproto eproto_db[] = { { "pup", ETHERTYPE_PUP }, { "xns", ETHERTYPE_NS }, |