diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2017-12-22 16:44:47 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2017-12-22 16:44:47 +0000 |
commit | a8e40d0287f05f6e444035431b1cc7b340fe8d79 (patch) | |
tree | 3d34decfcdfed87f14ab6b467dfd8ca3c7add471 /src/include | |
parent | 8cd0d07171f8b32553ef0c6936fd5737adcb4bab (diff) | |
download | skalibs-a8e40d0287f05f6e444035431b1cc7b340fe8d79.tar.xz |
Deprecate env_get
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/skalibs/env.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/skalibs/env.h b/src/include/skalibs/env.h index f0c2dbc..c2569b4 100644 --- a/src/include/skalibs/env.h +++ b/src/include/skalibs/env.h @@ -1,14 +1,14 @@ /* ISC license. */ -#ifndef ENV_H -#define ENV_H +#ifndef SKALIBS_ENV_H +#define SKALIBS_ENV_H #include <sys/types.h> #include <skalibs/gccattributes.h> #include <skalibs/stralloc.h> extern size_t env_len (char const *const *) gccattr_pure ; -extern char const *env_get (char const *) gccattr_pure ; +extern char const *env_get (char const *) gccattr_deprecated ; extern char const *env_get2 (char const *const *, char const *) gccattr_pure ; extern char const *ucspi_get (char const *) gccattr_pure ; extern int env_addmodif (stralloc *, char const *, char const *) ; |