summaryrefslogtreecommitdiffstats
path: root/bin/ps/nlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ps/nlist.c')
-rw-r--r--bin/ps/nlist.c12
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 */
OpenPOWER on IntegriCloud