diff options
author | Guy Harris <guy@alum.mit.edu> | 2009-04-27 22:07:11 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2009-04-27 22:07:11 +0000 |
commit | e637af376a5b726f0b7d763ec9bab0ed41ffd159 (patch) | |
tree | 00496c81590a342b0440938be33321ae621e1165 /wiretap/pcap-common.c | |
parent | 7876fb4eadcf3bd2fe1ad538c712cc5d7bcebc45 (diff) |
pcap_to_wtap_map is not used outside wiretap/pcap-common.c, so make it
static.
svn path=/trunk/; revision=28186
Diffstat (limited to 'wiretap/pcap-common.c')
-rw-r--r-- | wiretap/pcap-common.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/wiretap/pcap-common.c b/wiretap/pcap-common.c index 675705222e..070372b21c 100644 --- a/wiretap/pcap-common.c +++ b/wiretap/pcap-common.c @@ -72,7 +72,10 @@ * field of "pcap_to_wtap_map[]". */ -const struct encap_map pcap_to_wtap_map[] = { +static const struct { + int dlt_value; + int wtap_encap_value; +} pcap_to_wtap_map[] = { /* * These are the values that are almost certainly the same * in all libpcaps (I've yet to find one where the values |