aboutsummaryrefslogtreecommitdiffstats
path: root/reordercap.c
diff options
context:
space:
mode:
authorJoão Valverde <j@v6e.pt>2021-09-29 18:32:28 +0100
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2021-09-30 13:59:28 +0000
commit5362d0c31b83fd7eb812f3215918504496c2f56a (patch)
tree8db56bb5b91a21371aeda3cbb273c953b851f522 /reordercap.c
parent0173ea0ec1f87f2ab40c45eedb0ca1c1f77eea8e (diff)
ws_getopt: Rename struct and macros
This is part of the API and should also be renamed to avoid conflicts.
Diffstat (limited to 'reordercap.c')
-rw-r--r--reordercap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/reordercap.c b/reordercap.c
index d52f49daff..c818772d7b 100644
--- a/reordercap.c
+++ b/reordercap.c
@@ -189,9 +189,9 @@ main(int argc, char *argv[])
FrameRecord_t *prevFrame = NULL;
int opt;
- static const struct option long_options[] = {
- {"help", no_argument, NULL, 'h'},
- {"version", no_argument, NULL, 'v'},
+ static const struct ws_option long_options[] = {
+ {"help", ws_no_argument, NULL, 'h'},
+ {"version", ws_no_argument, NULL, 'v'},
{0, 0, 0, 0 }
};
int file_count;