mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-10-15 15:16:53 +02:00
Constify bsd_getopt(3) arguments
This matches the standard declaration for getopt(3).
This commit is contained in:
@@ -49,7 +49,7 @@ extern int optreset;
|
||||
#define getopt(argc, argv, optstr) bsd_getopt(argc, argv, optstr)
|
||||
#endif
|
||||
|
||||
int bsd_getopt(int, char **, char *);
|
||||
int bsd_getopt(int argc, char * const argv[], const char *shortopts)
|
||||
|
||||
mode_t getmode(const void *set, mode_t mode);
|
||||
void *setmode(const char *mode_str);
|
||||
|
Reference in New Issue
Block a user