aboutsummaryrefslogtreecommitdiff
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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/top/utils.h b/usr.bin/top/utils.h
index d04645dd8a17..a53e55bea090 100644
--- a/usr.bin/top/utils.h
+++ b/usr.bin/top/utils.h
@@ -10,15 +10,15 @@
* Copyright (c) 1989, 1990, 1992, William LeFebvre, Northwestern University
*/
-int atoiwi(char *);
+int atoiwi(const char *);
char *itoa(unsigned int);
char *itoa7(unsigned int);
int digits(int);
-char *strecpy(char *, char *);
+char *strecpy(char *, const char *);
char **argparse(char *, int *);
long percentages(int, int *, long *, long *, long *);
char *format_time(long);
char *format_k(int);
char *format_k2(unsigned long long);
-int string_index(char *string, char **array);
+int string_index(const char *string, char *array[]);