X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fopt%2Ftest%2Frun-iter.c;h=e6b13dadea8d33b38d02e55ca99c20e0d956d1d8;hp=a7cfb746218a31552e42d1a3342d382b156aec4d;hb=4ea280eb94ec5f2eef352066a94a160d9b8dd059;hpb=3fb6b6be5a395fbe293e61339e6be67118234508 diff --git a/ccan/opt/test/run-iter.c b/ccan/opt/test/run-iter.c index a7cfb746..e6b13dad 100644 --- a/ccan/opt/test/run-iter.c +++ b/ccan/opt/test/run-iter.c @@ -1,4 +1,3 @@ -#define _GNU_SOURCE #include #include #include @@ -10,13 +9,6 @@ #include #include -static void reset_options(void) -{ - free(opt_table); - opt_table = NULL; - opt_count = opt_num_short = opt_num_short_arg = opt_num_long = 0; -} - /* Test iterators. */ int main(int argc, char *argv[]) {