mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:28:12 +00:00
LibC: unsetenv() should take a const char*, not a char*.
This commit is contained in:
parent
5f597d0cb2
commit
29863d3815
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue