diff options
author | Rob Landley <rob@landley.net> | 2015-08-02 21:51:41 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2015-08-02 21:51:41 -0500 |
commit | 7a3f53ba446ae2600763ee37b7f8dcc91de3ec5f (patch) | |
tree | 3c74019a20c6d23f18409ef026727b3195d3b6ee /toys/other/vmstat.c | |
parent | 3aa1d18b727ded4415d8a5f34f90a0726213aa7f (diff) | |
download | toybox-7a3f53ba446ae2600763ee37b7f8dcc91de3ec5f.tar.gz |
Mark command-local functions static.
Diffstat (limited to 'toys/other/vmstat.c')
-rw-r--r-- | toys/other/vmstat.c | 2 |
1 files changed, 1 insertions, 1 deletions
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", |