summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/apply/apply.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/apply/apply.c b/usr.bin/apply/apply.c
index f63ba31..c886660 100644
--- a/usr.bin/apply/apply.c
+++ b/usr.bin/apply/apply.c
@@ -55,7 +55,7 @@ __FBSDID("$FreeBSD$");
#define EXEC "exec "
-static int exec_shell(const char *, char *, char *);
+static int exec_shell(const char *, const char *, const char *);
static void usage(void);
int
@@ -222,7 +222,7 @@ main(int argc, char *argv[])
* arguments.
*/
static int
-exec_shell(const char *command, char *use_shell, char *use_name)
+exec_shell(const char *command, const char *use_shell, const char *use_name)
{
pid_t pid;
int omask, pstat;
@@ -250,7 +250,7 @@ exec_shell(const char *command, char *use_shell, char *use_name)
return(pid == -1 ? -1 : pstat);
}
-void
+static void
usage(void)
{
OpenPOWER on IntegriCloud