diff options
| author | Mateusz Guzik <mjg@FreeBSD.org> | 2021-11-01 20:45:42 +0000 |
|---|---|---|
| committer | Mateusz Guzik <mjg@FreeBSD.org> | 2021-11-01 23:11:16 +0000 |
| commit | 6d88f9fed6a2aa1ffd2c856d246209f24b7dbea0 (patch) | |
| tree | b06b1438c38ffb6194e20781947a4ae252ed2ce1 /usr.bin/systat/devs.c | |
| parent | 8e2796878626ccc2fc15e4911a16af8a9fa7819a (diff) | |
Diffstat (limited to 'usr.bin/systat/devs.c')
| -rw-r--r-- | usr.bin/systat/devs.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/systat/devs.c b/usr.bin/systat/devs.c index 87d04f989ea3..63990bab5f81 100644 --- a/usr.bin/systat/devs.c +++ b/usr.bin/systat/devs.c @@ -86,16 +86,16 @@ typedef enum { struct statinfo cur_dev, last_dev, run_dev; -last_match_type last_type; +static last_match_type last_type; struct device_selection *dev_select; long generation; int num_devices, num_selected; int num_selections; long select_generation; -struct devstat_match *matches = NULL; -int num_matches = 0; -char **specified_devices; -int num_devices_specified = 0; +static struct devstat_match *matches = NULL; +static int num_matches = 0; +static char **specified_devices; +static int num_devices_specified = 0; static int dsmatchselect(const char *args, devstat_select_mode select_mode, int maxshowdevs, struct statinfo *s1); |
