aboutsummaryrefslogtreecommitdiff
path: root/string/envz.c
diff options
context:
space:
mode:
Diffstat (limited to 'string/envz.c')
-rw-r--r--string/envz.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/string/envz.c b/string/envz.c
index cb02b4b..e7d2443 100644
--- a/string/envz.c
+++ b/string/envz.c
@@ -1,5 +1,5 @@
/* Routines for dealing with '\0' separated environment vectors
- Copyright (C) 1995-2024 Free Software Foundation, Inc.
+ Copyright (C) 1995-2025 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -50,7 +50,7 @@ envz_entry (const char *envz, size_t envz_len, const char *name)
envz++, envz_len--; /* skip '\0' */
}
- return 0;
+ return NULL;
}
libc_hidden_def (envz_entry)
@@ -67,7 +67,7 @@ envz_get (const char *envz, size_t envz_len, const char *name)
if (*entry)
entry++;
else
- entry = 0; /* A null entry. */
+ entry = NULL; /* A null entry. */
}
return entry;
}