diff options
author | markm <markm@FreeBSD.org> | 2002-02-03 14:43:04 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2002-02-03 14:43:04 +0000 |
commit | aa05461c142ad4066a0a15602416ba40936a61c9 (patch) | |
tree | 7d38defe5cb3081da17d7b6c01870764bc1cc69a /bin/ps/nlist.c | |
parent | 792e9550ac5bdc8f338e9d340053549aa3aae463 (diff) | |
download | FreeBSD-src-aa05461c142ad4066a0a15602416ba40936a61c9.zip FreeBSD-src-aa05461c142ad4066a0a15602416ba40936a61c9.tar.gz |
WARNS=4 fixes (incomplete, so set NO_WERROR), and lots of extra
cleanup courtesy of automatic checking (lint).
Diffstat (limited to 'bin/ps/nlist.c')
-rw-r--r-- | bin/ps/nlist.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/bin/ps/nlist.c b/bin/ps/nlist.c index de91ba3..e97279e 100644 --- a/bin/ps/nlist.c +++ b/bin/ps/nlist.c @@ -31,19 +31,23 @@ * SUCH DAMAGE. */ -#ifndef lint +#include <sys/cdefs.h> + +__FBSDID("$FreeBSD$"); + #if 0 +#ifndef lint static char sccsid[] = "@(#)nlist.c 8.4 (Berkeley) 4/2/94"; -#endif -static const char rcsid[] = - "$FreeBSD$"; #endif /* not lint */ +#endif #include <sys/types.h> #include <sys/sysctl.h> #include <stddef.h> +#include "ps.h" + fixpt_t ccpu; /* kernel _ccpu variable */ int nlistread; /* if nlist already read. */ int mempages; /* number of pages of phys. memory */ |