From 5362d0c31b83fd7eb812f3215918504496c2f56a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Valverde?= Date: Wed, 29 Sep 2021 18:32:28 +0100 Subject: ws_getopt: Rename struct and macros This is part of the API and should also be renamed to avoid conflicts. --- randpkt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'randpkt.c') diff --git a/randpkt.c b/randpkt.c index dcfa1f0f73..ec02aa800c 100644 --- a/randpkt.c +++ b/randpkt.c @@ -122,8 +122,8 @@ main(int argc, char *argv[]) int allrandom = FALSE; wtap_dumper *savedump; int ret = EXIT_SUCCESS; - static const struct option long_options[] = { - {"help", no_argument, NULL, 'h'}, + static const struct ws_option long_options[] = { + {"help", ws_no_argument, NULL, 'h'}, {0, 0, 0, 0 } }; -- cgit v1.2.3