From f51a60f73a22533ec38c12fc63f2837e355a0f88 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Thu, 1 Dec 2011 16:39:50 +1030 Subject: [PATCH] opt: get rid of last remnant of getopt. Testing code still using it. --- ccan/opt/test/utils.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/ccan/opt/test/utils.c b/ccan/opt/test/utils.c index 21e0b727..7378d844 100644 --- a/ccan/opt/test/utils.c +++ b/ccan/opt/test/utils.c @@ -3,7 +3,6 @@ #include #include #include -#include #include #include #include "utils.h" @@ -77,8 +76,6 @@ bool parse_args(int *argc, char ***argv, ...) *argv = a; allocated = true; - /* Re-set before parsing. */ - optind = 0; return opt_parse(argc, *argv, save_err_output); } -- 2.39.2