summaryrefslogtreecommitdiff
path: root/usr.bin/top/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/top/utils.h')
-rw-r--r--usr.bin/top/utils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.bin/top/utils.h b/usr.bin/top/utils.h
index 9e5daa7bba4b..2125f82e901e 100644
--- a/usr.bin/top/utils.h
+++ b/usr.bin/top/utils.h
@@ -10,6 +10,8 @@
* Copyright (c) 1989, 1990, 1992, William LeFebvre, Northwestern University
*/
+#include <unistd.h>
+
int atoiwi(const char *);
char *itoa(unsigned int);
char *itoa7(unsigned int);
@@ -20,4 +22,5 @@ char *format_time(long);
char *format_k(int);
char *format_k2(unsigned long long);
int string_index(const char *string, char *array[]);
+int find_pid(pid_t pid);