Loads more static, except for cmd-*.c and window-*.c.

This commit is contained in:
nicm
2016-10-10 21:29:23 +00:00
parent 66b5477cc1
commit c426e485e5
25 changed files with 301 additions and 295 deletions

View File

@ -36,10 +36,10 @@
#define is_stopped(p) \
((p)->p_stat == SSTOP || (p)->p_stat == SDEAD)
struct kinfo_proc *cmp_procs(struct kinfo_proc *, struct kinfo_proc *);
char *get_proc_name(int, char *);
static struct kinfo_proc *cmp_procs(struct kinfo_proc *, struct kinfo_proc *);
char *get_proc_name(int, char *);
struct kinfo_proc *
static struct kinfo_proc *
cmp_procs(struct kinfo_proc *p1, struct kinfo_proc *p2)
{
if (is_runnable(p1) && !is_runnable(p2))