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:
parent
6e51ea1e2e
commit
64740a0214
3 changed files with 14 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue