From 2aa810aa99a1853a77856048566d6983bebe748d Mon Sep 17 00:00:00 2001 From: ed Date: Sun, 6 Nov 2011 19:01:48 +0000 Subject: Mark global functions and/or variables in devinfo(8) static where possible. This allows compilers and static analyzers to do more thorough analysis. --- usr.sbin/devinfo/devinfo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/devinfo') diff --git a/usr.sbin/devinfo/devinfo.c b/usr.sbin/devinfo/devinfo.c index 73dcfd5..32d2932 100644 --- a/usr.sbin/devinfo/devinfo.c +++ b/usr.sbin/devinfo/devinfo.c @@ -39,8 +39,8 @@ __FBSDID("$FreeBSD$"); #include #include "devinfo.h" -int rflag; -int vflag; +static int rflag; +static int vflag; static void print_resource(struct devinfo_res *); static int print_device_matching_resource(struct devinfo_res *, void *); -- cgit v1.1