env-util: also rename getenv_uint64_secure() → secure_getenv_uint64()
As in the previous commit, let's not change the order of the words compared to the underlying glibc API.
This commit is contained in:
@@ -973,7 +973,7 @@ int secure_getenv_bool(const char *p) {
|
||||
return parse_boolean(e);
|
||||
}
|
||||
|
||||
int getenv_uint64_secure(const char *p, uint64_t *ret) {
|
||||
int secure_getenv_uint64(const char *p, uint64_t *ret) {
|
||||
const char *e;
|
||||
|
||||
assert(p);
|
||||
|
||||
@@ -64,7 +64,7 @@ char *strv_env_pairs_get(char **l, const char *name) _pure_;
|
||||
int getenv_bool(const char *p);
|
||||
int secure_getenv_bool(const char *p);
|
||||
|
||||
int getenv_uint64_secure(const char *p, uint64_t *ret);
|
||||
int secure_getenv_uint64(const char *p, uint64_t *ret);
|
||||
|
||||
/* Like setenv, but calls unsetenv if value == NULL. */
|
||||
int set_unset_env(const char *name, const char *value, bool overwrite);
|
||||
|
||||
Reference in New Issue
Block a user