summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-12-22 16:44:47 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-12-22 16:44:47 +0000
commita8e40d0287f05f6e444035431b1cc7b340fe8d79 (patch)
tree3d34decfcdfed87f14ab6b467dfd8ca3c7add471 /src/include
parent8cd0d07171f8b32553ef0c6936fd5737adcb4bab (diff)
downloadskalibs-a8e40d0287f05f6e444035431b1cc7b340fe8d79.tar.xz
Deprecate env_get
Diffstat (limited to 'src/include')
-rw-r--r--src/include/skalibs/env.h6
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 *) ;