From b4971e80feba1fb8436b486961807d2a855b2f52 Mon Sep 17 00:00:00 2001 From: ed Date: Sun, 6 Nov 2011 18:49:30 +0000 Subject: [PATCH] Mark global functions and/or variables in expand(1) static where possible. This allows compilers and static analyzers to more thorough analysis. --- usr.bin/expand/expand.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/expand/expand.c b/usr.bin/expand/expand.c index e8d85b4b73d6..1d8908903c87 100644 --- a/usr.bin/expand/expand.c +++ b/usr.bin/expand/expand.c @@ -53,8 +53,8 @@ __FBSDID("$FreeBSD$"); /* * expand - expand tabs to equivalent spaces */ -int nstops; -int tabstops[100]; +static int nstops; +static int tabstops[100]; static void getstops(char *); static void usage(void);