[PATCH] Fix signatures for getenv/getopt

2025-03-22 Thread Khem Raj
GCC-15 complains about missing parameters, this gets found out when using non-glibc ( e.g. musl ) C library Fixes lib/fnmatch.c:124:14: error: conflicting types for 'getenv'; have 'char *(void)' | 124 | extern char *getenv (); | | ^~ src/getopt.c: Define parameters of get

[PATCH] Fix signatures for getenv/getopt

2025-03-22 Thread Khem Raj
GCC-15 complains about missing parameters, this gets found out when using non-glibc ( e.g. musl ) C library Fixes lib/fnmatch.c:124:14: error: conflicting types for 'getenv'; have 'char *(void)' | 124 | extern char *getenv (); | | ^~ src/getopt.c: Define parameters of get