diff options
author | Gerald Combs <gerald@wireshark.org> | 2021-04-16 11:24:52 -0700 |
---|---|---|
committer | Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2021-04-16 20:09:42 +0000 |
commit | e513ed41d2c12e5196762911e62a4e9a9206d40e (patch) | |
tree | 420772900bdb6237b26041713525e5f75dbaff15 /wiretap/lanalyzer.c | |
parent | c92637bcd82071d7a263597c2d7cbd95b481ee54 (diff) |
Wiretap: Fix some compiler warnings.
Make various _dump_can_write_encap and _dump_open routines static. Add a
couple of casts.
Diffstat (limited to 'wiretap/lanalyzer.c')
-rw-r--r-- | wiretap/lanalyzer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wiretap/lanalyzer.c b/wiretap/lanalyzer.c index a3e6bdc274..368b441cda 100644 --- a/wiretap/lanalyzer.c +++ b/wiretap/lanalyzer.c @@ -771,7 +771,7 @@ static gboolean lanalyzer_dump(wtap_dumper *wdh, * Returns 0 if we could write the specified encapsulation type, * an error indication otherwise. *---------------------------------------------------*/ -int lanalyzer_dump_can_write_encap(int encap) +static int lanalyzer_dump_can_write_encap(int encap) { /* Per-packet encapsulations aren't supported. */ if (encap == WTAP_ENCAP_PER_PACKET) @@ -790,7 +790,7 @@ int lanalyzer_dump_can_write_encap(int encap) * Returns TRUE on success, FALSE on failure; sets "*err" to an * error code on failure *---------------------------------------------------*/ -gboolean lanalyzer_dump_open(wtap_dumper *wdh, int *err, gchar **err_info _U_) +static gboolean lanalyzer_dump_open(wtap_dumper *wdh, int *err, gchar **err_info _U_) { int jump; void *tmp; |