1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:37:34 +00:00

LibC: getopt() and getopt_long() shouldn't modify argv

This commit is contained in:
Gunnar Beutner 2021-04-11 06:47:47 +02:00 committed by Andreas Kling
parent 6e51ea1e2e
commit 64740a0214
3 changed files with 14 additions and 7 deletions

View file

@ -212,6 +212,6 @@ extern int optreset;
// value.
extern char* optarg;
int getopt(int argc, char** argv, const char* short_options);
int getopt(int argc, char* const* argv, const char* short_options);
__END_DECLS