Re: [PATCH v21 02/14] windows: make getopt functions have const properties

2024-06-03 Thread Stephen Hemminger
On Mon, 3 Jun 2024 17:44:50 -0700 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 changes g

[PATCH v21 02/14] windows: make getopt functions have const properties

2024-06-03 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