Mark global functions and/or variables in devinfo(8) static where possible.

This allows compilers and static analyzers to do more thorough analysis.
This commit is contained in:
Ed Schouten 2011-11-06 19:01:48 +00:00
parent d35fcc6826
commit e8f386b409
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=227252
1 changed files with 2 additions and 2 deletions

View File

@ -39,8 +39,8 @@ __FBSDID("$FreeBSD$");
#include <unistd.h>
#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 *);