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.
|
* set @a name to specified substring of @a value.
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
env_set(char *name, char *value, int length)
|
env_set(const char *name, char *value, int length)
|
||||||
{
|
{
|
||||||
int true_length, substring = 0;
|
int true_length, substring = 0;
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int env_set(char *name, char *value, int len);
|
int env_set(const char *name, char *value, int len);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user