summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/sh/alias.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/sh/alias.c b/bin/sh/alias.c
index d27b65f..a4a4035 100644
--- a/bin/sh/alias.c
+++ b/bin/sh/alias.c
@@ -52,8 +52,8 @@ __FBSDID("$FreeBSD$");
STATIC struct alias *atab[ATABSIZE];
STATIC void setalias(char *, char *);
-STATIC int unalias(char *);
-STATIC struct alias **hashalias(char *);
+STATIC int unalias(const char *);
+STATIC struct alias **hashalias(const char *);
STATIC
void
@@ -110,7 +110,7 @@ setalias(char *name, char *val)
}
STATIC int
-unalias(char *name)
+unalias(const char *name)
{
struct alias *ap, **app;
@@ -247,7 +247,7 @@ unaliascmd(int argc __unused, char **argv __unused)
}
STATIC struct alias **
-hashalias(char *p)
+hashalias(const char *p)
{
unsigned int hashval;
OpenPOWER on IntegriCloud