summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordds <dds@FreeBSD.org>2007-11-08 08:57:51 +0000
committerdds <dds@FreeBSD.org>2007-11-08 08:57:51 +0000
commit8f74341105292d0da80d56d1baf3bf57323f8494 (patch)
treeda26c3f07a0fb0ffcd790385dd792b03851e63c3
parent931410e76ea30cd9a1d6b74a753fa1f51909a369 (diff)
downloadFreeBSD-src-8f74341105292d0da80d56d1baf3bf57323f8494.zip
FreeBSD-src-8f74341105292d0da80d56d1baf3bf57323f8494.tar.gz
Fix visibility of "inplace".
Found by: CScout
-rw-r--r--usr.bin/sed/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/sed/main.c b/usr.bin/sed/main.c
index e17741f..b3fa1f5 100644
--- a/usr.bin/sed/main.c
+++ b/usr.bin/sed/main.c
@@ -112,7 +112,7 @@ const char *fname; /* File name. */
const char *outfname; /* Output file name */
static char oldfname[PATH_MAX]; /* Old file name (for in-place editing) */
static char tmpfname[PATH_MAX]; /* Temporary file name (for in-place editing) */
-const char *inplace; /* Inplace edit file extension. */
+static const char *inplace; /* Inplace edit file extension. */
u_long linenum;
static void add_compunit(enum e_cut, char *);
OpenPOWER on IntegriCloud