From f58d00c87a547a1f65cf7b990fda6f4e36feb314 Mon Sep 17 00:00:00 2001 From: ed Date: Mon, 31 Oct 2011 08:59:17 +0000 Subject: Put some static keywords in the source code. For these simple utilities, it doesn't harm to make all global variables static. In fact, this allows the compiler to perform better forms of optimisation and analysis. --- bin/mkdir/mkdir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/mkdir') diff --git a/bin/mkdir/mkdir.c b/bin/mkdir/mkdir.c index 5fa002f..fda9c24 100644 --- a/bin/mkdir/mkdir.c +++ b/bin/mkdir/mkdir.c @@ -56,7 +56,7 @@ __FBSDID("$FreeBSD$"); static int build(char *, mode_t); static void usage(void); -int vflag; +static int vflag; int main(int argc, char *argv[]) -- cgit v1.1