Acked-by: Chengwen Feng <[email protected]>

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 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 <[email protected]>
> Acked-by: Tyler Retzlaff <[email protected]>
> Acked-by: Dmitry Kozlyuk <[email protected]>
> Acked-by: Morten Brørup <[email protected]>



Reply via email to