aboutsummaryrefslogtreecommitdiff
path: root/bin/kenv
diff options
context:
space:
mode:
authorSimon J. Gerraty <sjg@FreeBSD.org>2013-09-05 20:18:59 +0000
committerSimon J. Gerraty <sjg@FreeBSD.org>2013-09-05 20:18:59 +0000
commitd1d015864103b253b3fcb2f72a0da5b0cfeb31b6 (patch)
tree22b131dceb13c3df96da594fbaadb693504797c7 /bin/kenv
parent12d4083451fc39b3e831d4ea0bfa67d3b32cfb54 (diff)
parentb6f49c23a36f329cbf1e7f28078e17fd87f0e245 (diff)
downloadsrc-d1d015864103b253b3fcb2f72a0da5b0cfeb31b6.tar.gz
src-d1d015864103b253b3fcb2f72a0da5b0cfeb31b6.zip
Merge from head
Notes
Notes: svn path=/projects/bmake/; revision=255263
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 5ba9a5e413f6..dad8a91fb6d9 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;