1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[util] const in env_set

This commit is contained in:
Witold Filipczyk 2022-01-30 18:26:21 +01:00
parent dc3ba3ef3b
commit 32dd119820
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@
* set @a name to specified substring of @a value.
*/
int
env_set(char *name, char *value, int length)
env_set(const char *name, char *value, int length)
{
int true_length, substring = 0;

View File

@ -5,7 +5,7 @@
extern "C" {
#endif
int env_set(char *name, char *value, int len);
int env_set(const char *name, char *value, int len);
#ifdef __cplusplus
}