summaryrefslogtreecommitdiff
path: root/bin/ps/fmt.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-07-02 21:19:34 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-07-02 21:19:34 +0000
commitbe0a1ac3793cd197747bb916f03991f0dd5eccae (patch)
treed126eb4e863ca2baf200e61622c410f3861f3900 /bin/ps/fmt.c
parentc7d032fc4ac7d7924b20e1fea418272346d8c78c (diff)
missing protos
Diffstat (limited to 'bin/ps/fmt.c')
-rw-r--r--bin/ps/fmt.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/bin/ps/fmt.c b/bin/ps/fmt.c
index 4fd82385392..c9a8677b5ef 100644
--- a/bin/ps/fmt.c
+++ b/bin/ps/fmt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fmt.c,v 1.3 2003/06/11 06:50:24 deraadt Exp $ */
+/* $OpenBSD: fmt.c,v 1.4 2003/07/02 21:19:33 deraadt Exp $ */
/*-
* Copyright (c) 1990, 1993, 1994
@@ -29,11 +29,22 @@
* SUCH DAMAGE.
*/
+#include <sys/param.h>
+#include <sys/user.h>
+#include <sys/time.h>
+#include <sys/resource.h>
+#include <sys/proc.h>
+#include <sys/stat.h>
+#include <sys/ioctl.h>
+#include <sys/sysctl.h>
+#include <sys/types.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <vis.h>
+#include "ps.h"
+#include "extern.h"
void
fmt_puts(char *s, int *leftp)