summaryrefslogtreecommitdiffstats
path: root/bin/kenv
diff options
context:
space:
mode:
authorsjg <sjg@FreeBSD.org>2013-09-05 20:18:59 +0000
committersjg <sjg@FreeBSD.org>2013-09-05 20:18:59 +0000
commit62bb1062226d3ce6a2350808256a25508978352d (patch)
tree22b131dceb13c3df96da594fbaadb693504797c7 /bin/kenv
parent72ab90509b3a51ab361bf710338f2ef44a4e360d (diff)
parent04932445481c2cb89ff69a83b961bdef3d64757e (diff)
downloadFreeBSD-src-62bb1062226d3ce6a2350808256a25508978352d.zip
FreeBSD-src-62bb1062226d3ce6a2350808256a25508978352d.tar.gz
Merge from head
Diffstat (limited to 'bin/kenv')
-rw-r--r--bin/kenv/kenv.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/kenv/kenv.c b/bin/kenv/kenv.c
index 5ba9a5e..dad8a91 100644
--- a/bin/kenv/kenv.c
+++ b/bin/kenv/kenv.c
@@ -37,9 +37,9 @@ __FBSDID("$FreeBSD$");
static void usage(void);
static int kdumpenv(void);
-static int kgetenv(char *);
-static int ksetenv(char *, char *);
-static int kunsetenv(char *);
+static int kgetenv(const char *);
+static int ksetenv(const char *, char *);
+static int kunsetenv(const char *);
static int hflag = 0;
static int Nflag = 0;
@@ -170,7 +170,7 @@ kdumpenv(void)
}
static int
-kgetenv(char *env)
+kgetenv(const char *env)
{
char buf[1024];
int ret;
@@ -186,7 +186,7 @@ kgetenv(char *env)
}
static int
-ksetenv(char *env, char *val)
+ksetenv(const char *env, char *val)
{
int ret;
@@ -197,7 +197,7 @@ ksetenv(char *env, char *val)
}
static int
-kunsetenv(char *env)
+kunsetenv(const char *env)
{
int ret;
OpenPOWER on IntegriCloud