mirror of
https://github.com/opnsense/src.git
synced 2026-06-12 10:10:24 -04:00
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:
parent
d35fcc6826
commit
e8f386b409
1 changed files with 2 additions and 2 deletions
|
|
@ -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 *);
|
||||
|
|
|
|||
Loading…
Reference in a new issue