From 7a3f53ba446ae2600763ee37b7f8dcc91de3ec5f Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 2 Aug 2015 21:51:41 -0500 Subject: Mark command-local functions static. --- toys/other/vmstat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toys/other/vmstat.c') diff --git a/toys/other/vmstat.c b/toys/other/vmstat.c index c11e46b1..9a38e452 100644 --- a/toys/other/vmstat.c +++ b/toys/other/vmstat.c @@ -39,7 +39,7 @@ struct vmstat_proc { // All the elements of vmstat_proc are the same size, so we can populate it as // a big array, then read the elements back out by name -void get_vmstat_proc(struct vmstat_proc *vmstat_proc) +static void get_vmstat_proc(struct vmstat_proc *vmstat_proc) { char *vmstuff[] = { "/proc/stat", "cpu ", 0, 0, 0, 0, 0, 0, "intr ", "ctxt ", "procs_running ", "procs_blocked ", "/proc/meminfo", -- cgit v1.2.3