summaryrefslogtreecommitdiffstats
path: root/bin/sh/jobs.c
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2013-07-25 19:48:15 +0000
committerjilles <jilles@FreeBSD.org>2013-07-25 19:48:15 +0000
commit45d56acf59e57b291bf5e8cce6a222057bb42c8e (patch)
treea72f4141652352d8b02ae8cb5f9841a2879aef50 /bin/sh/jobs.c
parentd1aa5826fa2ff69ce857b49c504480a4a0c39f3c (diff)
downloadFreeBSD-src-45d56acf59e57b291bf5e8cce6a222057bb42c8e.zip
FreeBSD-src-45d56acf59e57b291bf5e8cce6a222057bb42c8e.tar.gz
sh: Remove #define MKINIT.
MKINIT only served for the removed mkinit. Many variables can be static now.
Diffstat (limited to 'bin/sh/jobs.c')
-rw-r--r--bin/sh/jobs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/sh/jobs.c b/bin/sh/jobs.c
index 7129a9f..89e4812 100644
--- a/bin/sh/jobs.c
+++ b/bin/sh/jobs.c
@@ -77,8 +77,8 @@ __FBSDID("$FreeBSD$");
static struct job *jobtab; /* array of jobs */
static int njobs; /* size of array */
-MKINIT pid_t backgndpid = -1; /* pid of last background process */
-MKINIT struct job *bgjob = NULL; /* last background process */
+static pid_t backgndpid = -1; /* pid of last background process */
+static struct job *bgjob = NULL; /* last background process */
#if JOBS
static struct job *jobmru; /* most recently used job list */
static pid_t initialpgrp; /* pgrp of shell on invocation */
@@ -116,7 +116,7 @@ static void showjob(struct job *, int);
* Turn job control on and off.
*/
-MKINIT int jobctl;
+static int jobctl;
#if JOBS
void
OpenPOWER on IntegriCloud