diff options
author | jilles <jilles@FreeBSD.org> | 2014-04-05 20:01:08 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2014-04-05 20:01:08 +0000 |
commit | b37f0c842bea0bfc910e31fe1a844c63b9226973 (patch) | |
tree | 548152efe632010bb1316d134f29bdf60c9c0f9d /bin/sh/jobs.c | |
parent | 76e2b229a433780382821dae33f8f97be99398bc (diff) | |
download | FreeBSD-src-b37f0c842bea0bfc910e31fe1a844c63b9226973.zip FreeBSD-src-b37f0c842bea0bfc910e31fe1a844c63b9226973.tar.gz |
MFC r263195: sh: Add some consts.
Diffstat (limited to 'bin/sh/jobs.c')
-rw-r--r-- | bin/sh/jobs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/sh/jobs.c b/bin/sh/jobs.c index 1c0c6bd..2e0188a 100644 --- a/bin/sh/jobs.c +++ b/bin/sh/jobs.c @@ -95,9 +95,9 @@ static void restartjob(struct job *); #endif static void freejob(struct job *); static int waitcmdloop(struct job *); -static struct job *getjob_nonotfound(char *); -static struct job *getjob(char *); pid_t getjobpgrp(char *); +static struct job *getjob_nonotfound(const char *); +static struct job *getjob(const char *); static pid_t dowait(int, struct job *); static void checkzombies(void); static void cmdtxt(union node *); @@ -558,7 +558,7 @@ jobidcmd(int argc __unused, char **argv __unused) */ static struct job * -getjob_nonotfound(char *name) +getjob_nonotfound(const char *name) { int jobno; struct job *found, *jp; @@ -628,7 +628,7 @@ currentjob: if ((jp = getcurjob(NULL)) == NULL) static struct job * -getjob(char *name) +getjob(const char *name) { struct job *jp; |