mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 10:50:07 +00:00
(envz_get): Remove const from return type.
This commit is contained in:
parent
e91ce32f3c
commit
4392fd309a
@ -26,7 +26,7 @@
|
||||
ARGZ, and the total length in LEN. If a memory allocation error occurs,
|
||||
ENOMEM is returned, otherwise 0. */
|
||||
error_t
|
||||
__argz_create (char *const argv[], char **argz, size_t *len)
|
||||
__argz_create (char *argv[], char **argz, size_t *len)
|
||||
{
|
||||
int argc;
|
||||
size_t tlen = 0;
|
||||
|
@ -57,7 +57,7 @@ envz_entry (const char *envz, size_t envz_len, const char *name)
|
||||
|
||||
/* Returns a pointer to the value portion of the entry in ENVZ for NAME, or 0
|
||||
if there is none. */
|
||||
const char *
|
||||
char *
|
||||
envz_get (const char *envz, size_t envz_len, const char *name)
|
||||
{
|
||||
const char *entry = envz_entry (envz, envz_len, name);
|
||||
|
Loading…
Reference in New Issue
Block a user