Re: [PATCH v23 02/15] windows: make getopt functions have const properties

2024-09-18 Thread fengchengwen
Acked-by: Chengwen Feng On 2024/9/18 12:56, Stephen Hemminger wrote: > 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

[PATCH v23 02/15] windows: make getopt functions have const properties

2024-09-17 Thread Stephen Hemminger
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 Fre