=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/top/machine.c,v retrieving revision 1.57 retrieving revision 1.58 diff -c -r1.57 -r1.58 *** src/usr.bin/top/machine.c 2007/02/04 14:58:45 1.57 --- src/usr.bin/top/machine.c 2007/04/04 19:24:18 1.58 *************** *** 1,4 **** ! /* $OpenBSD: machine.c,v 1.57 2007/02/04 14:58:45 otto Exp $ */ /*- * Copyright (c) 1994 Thorsten Lockert --- 1,4 ---- ! /* $OpenBSD: machine.c,v 1.58 2007/04/04 19:24:18 otto Exp $ */ /*- * Copyright (c) 1994 Thorsten Lockert *************** *** 59,64 **** --- 59,66 ---- #include "loadavg.h" static int swapmode(int *, int *); + static char *state_abbr(struct kinfo_proc2 *); + static char *format_comm(struct kinfo_proc2 *); /* get_process_info passes back a handle. This is what it looks like: */ *************** *** 413,419 **** char fmt[MAX_COLS]; /* static area where result is built */ ! char * state_abbr(struct kinfo_proc2 *pp) { static char buf[10]; --- 415,421 ---- char fmt[MAX_COLS]; /* static area where result is built */ ! static char * state_abbr(struct kinfo_proc2 *pp) { static char buf[10]; *************** *** 427,433 **** return buf; } ! char * format_comm(struct kinfo_proc2 *kp) { #define ARG_SIZE 60 --- 429,435 ---- return buf; } ! static char * format_comm(struct kinfo_proc2 *kp) { #define ARG_SIZE 60