On 2026-04-18 01:45, Shubham Chakraborty wrote:
-extern int getopt ();
+extern int getopt (int argc, char *const *argv, const char *shortopts);
  extern int getopt_long ();

This is questionable, as getopt_long has parameters too.

Instead, how about converting GNU 'make' to use Gnulib replacements for fnmatch and getopt? In the long run that'll be a better solution than this little tinkering, and it's long been on Paul's list of things to do. See his GNU 'make' commit f91b8bbb34ff210ad72bc529c9bd5c6102e27adc dated 2023-01-02.

Reply via email to