[PATCH v13 01/11] windows: make getopt functions have const properties
Morten Brørup
mb at smartsharesystems.com
Tue Mar 26 10:35:55 CET 2024
> From: Stephen Hemminger [mailto:stephen at networkplumber.org]
> Sent: Tuesday, 26 March 2024 02.57
>
> Having different prototypes on different platforms can lead
> to lots of unnecessary workarounds. Looks like the version of
> getopt used from windows was based on an older out of date
> version from FreeBSD.
>
> This patch changes getopt, getopt_long, etc to have the same const
> attributes as Linux and FreeBSD. The changes are derived from
> the current FreeBSD version of getopt_long.
>
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> Acked-by: Tyler Retzlaff <roretzla at linux.microsoft.com>
> Acked-by: Dmitry Kozlyuk <dmitry.kozliuk at gmail.com>
> ---
For the series,
Acked-by: Morten Brørup <mb at smartsharesystems.com>
More information about the dev
mailing list