diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-05-19 15:19:48 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-05-19 15:19:48 +0200 |
commit | 29863d38150bc67d676bc8bd390e648207ac75ae (patch) | |
tree | afbc0b399e68eeab45efc00c9a049ebd7d71b2b9 /LibC/stdlib.cpp | |
parent | 5f597d0cb269b237985a5fec314c2621480120ad (diff) | |
download | serenity-29863d38150bc67d676bc8bd390e648207ac75ae.zip |
LibC: unsetenv() should take a const char*, not a char*.
Diffstat (limited to 'LibC/stdlib.cpp')
-rw-r--r-- | LibC/stdlib.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LibC/stdlib.cpp b/LibC/stdlib.cpp index ccd8c3c1fd..d83a25a4a9 100644 --- a/LibC/stdlib.cpp +++ b/LibC/stdlib.cpp @@ -62,7 +62,7 @@ char* getenv(const char* name) return nullptr; } -int unsetenv(char* name) +int unsetenv(const char* name) { auto new_var_len = strlen(name); size_t environ_size = 0; |