diff options
author | João Valverde <j@v6e.pt> | 2021-09-29 18:32:28 +0100 |
---|---|---|
committer | Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2021-09-30 13:59:28 +0000 |
commit | 5362d0c31b83fd7eb812f3215918504496c2f56a (patch) | |
tree | 8db56bb5b91a21371aeda3cbb273c953b851f522 /extcap/etl.c | |
parent | 0173ea0ec1f87f2ab40c45eedb0ca1c1f77eea8e (diff) | |
download | wireshark-5362d0c31b83fd7eb812f3215918504496c2f56a.tar.gz wireshark-5362d0c31b83fd7eb812f3215918504496c2f56a.tar.bz2 wireshark-5362d0c31b83fd7eb812f3215918504496c2f56a.zip |
ws_getopt: Rename struct and macros
This is part of the API and should also be renamed to avoid conflicts.
Diffstat (limited to 'extcap/etl.c')
-rw-r--r-- | extcap/etl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/extcap/etl.c b/extcap/etl.c index a4ff72e152..9a74e3ccc9 100644 --- a/extcap/etl.c +++ b/extcap/etl.c @@ -54,10 +54,10 @@ enum { OPT_LEVEL, }; -static struct option longopts[] = { - { "p", required_argument, NULL, OPT_PROVIDER}, - { "k", required_argument, NULL, OPT_KEYWORD}, - { "l", required_argument, NULL, OPT_LEVEL}, +static struct ws_option longopts[] = { + { "p", ws_required_argument, NULL, OPT_PROVIDER}, + { "k", ws_required_argument, NULL, OPT_KEYWORD}, + { "l", ws_required_argument, NULL, OPT_LEVEL}, { 0, 0, 0, 0 } }; |