(envz_get): Remove const from return type.

This commit is contained in:
Miles Bader 1996-05-10 15:57:48 +00:00
parent e91ce32f3c
commit 4392fd309a
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@
ARGZ, and the total length in LEN. If a memory allocation error occurs, ARGZ, and the total length in LEN. If a memory allocation error occurs,
ENOMEM is returned, otherwise 0. */ ENOMEM is returned, otherwise 0. */
error_t error_t
__argz_create (char *const argv[], char **argz, size_t *len) __argz_create (char *argv[], char **argz, size_t *len)
{ {
int argc; int argc;
size_t tlen = 0; size_t tlen = 0;

View File

@ -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 /* Returns a pointer to the value portion of the entry in ENVZ for NAME, or 0
if there is none. */ if there is none. */
const char * char *
envz_get (const char *envz, size_t envz_len, const char *name) envz_get (const char *envz, size_t envz_len, const char *name)
{ {
const char *entry = envz_entry (envz, envz_len, name); const char *entry = envz_entry (envz, envz_len, name);