aboutsummaryrefslogtreecommitdiffstats
path: root/text2pcap.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 /text2pcap.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 'text2pcap.c')
-rw-r--r--text2pcap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/text2pcap.c b/text2pcap.c
index 50f4b11733..95e7741ad7 100644
--- a/text2pcap.c
+++ b/text2pcap.c
@@ -1445,9 +1445,9 @@ parse_options (int argc, char *argv[])
{
int c;
char *p;
- 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 }
};
struct tm *now_tm;