]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
unzip: remove optreset from bsdunzip_platform.h
authorMartin Matuska <martin@matuska.de>
Mon, 24 Jul 2023 11:35:33 +0000 (13:35 +0200)
committerMartin Matuska <martin@matuska.de>
Mon, 24 Jul 2023 11:35:33 +0000 (13:35 +0200)
unzip/bsdunzip_platform.h

index 5aff5f208eab715aa764e2e06e52e3bc24575d62..76eca4f90902e5d9d5df43c5fc8a2e7f4de7fb2e 100644 (file)
 #include "archive_entry.h"
 #endif
 
-#ifndef HAVE_GETOPT_OPTRESET
-/*
- * If platform doesn't use optreset for resetting getopt, declare it so
- * C source doesn't have to know this platform-specific difference
- */
-int optreset;
-#endif
-
 /* How to mark functions that don't return. */
 /* This facilitates use of some newer static code analysis tools. */
 #undef __LA_DEAD