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:
parent
dc3ba3ef3b
commit
32dd119820
@ -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;
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user