From dff77a6783e5de548ceb265aad1f7a74261be390 Mon Sep 17 00:00:00 2001 From: Martin Matuska Date: Mon, 31 Jul 2023 13:29:25 +0200 Subject: [PATCH] unzip: correctly define bsdunzip_optind --- unzip/bsdunzip.h | 2 ++ unzip/cmdline.c | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/unzip/bsdunzip.h b/unzip/bsdunzip.h index 12b65cefb..385317818 100644 --- a/unzip/bsdunzip.h +++ b/unzip/bsdunzip.h @@ -60,4 +60,6 @@ enum { int bsdunzip_getopt(struct bsdunzip *); +extern int bsdunzip_optind; + #endif diff --git a/unzip/cmdline.c b/unzip/cmdline.c index 95d4f99b8..76eb423de 100644 --- a/unzip/cmdline.c +++ b/unzip/cmdline.c @@ -43,8 +43,6 @@ __FBSDID("$FreeBSD$"); #include "bsdunzip.h" #include "err.h" -extern int bsdunzip_optind; - /* * Short options for bsdunzip. Please keep this sorted. */ -- 2.47.2