Acked-by: Chengwen Feng <fengcheng...@huawei.com> 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 <step...@networkplumber.org> > Acked-by: Tyler Retzlaff <roret...@linux.microsoft.com> > Acked-by: Dmitry Kozlyuk <dmitry.kozl...@gmail.com> > Acked-by: Morten Brørup <m...@smartsharesystems.com>
- [PATCH v23 00/15] Logging improvements Stephen Hemminger
- [PATCH v23 01/15] maintainers: add for log library Stephen Hemminger
- Re: [PATCH v23 01/15] maintainers: add for log ... fengchengwen
- [PATCH v23 02/15] windows: make getopt functions ha... Stephen Hemminger
- Re: [PATCH v23 02/15] windows: make getopt func... fengchengwen
- [PATCH v23 03/15] windows: add os shim for localtim... Stephen Hemminger
- Re: [PATCH v23 03/15] windows: add os shim for ... fengchengwen
- [PATCH v23 04/15] eal: make eal_log_level_parse com... Stephen Hemminger
- Re: [PATCH v23 04/15] eal: make eal_log_level_p... fengchengwen
- Re: [PATCH v23 04/15] eal: make eal_log_lev... Stephen Hemminger
- [PATCH v23 05/15] eal: do not duplicate rte_init_al... Stephen Hemminger
- Re: [PATCH v23 05/15] eal: do not duplicate rte... fengchengwen
- [PATCH v23 06/15] eal: change rte_exit() output to ... Stephen Hemminger
- Re: [PATCH v23 06/15] eal: change rte_exit() ou... fengchengwen
- [PATCH v23 07/15] log: move handling of syslog faci... Stephen Hemminger