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

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 *);