summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1997-05-26 23:40:37 +0000
committerMiles Bader <miles@gnu.org>1997-05-26 23:40:37 +0000
commit4c99c8ed3e6c0a58c32eade15f9d9b7351c86009 (patch)
tree5929b7c844fae4941ba7bc52920eae0573f7c12d
parent3edf1b507440cd810921888fd360faf453e52346 (diff)
(psout): Add const to appropriate arguments.
-rw-r--r--utils/psout.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/utils/psout.h b/utils/psout.h
index 06f15d73..f4469ac4 100644
--- a/utils/psout.h
+++ b/utils/psout.h
@@ -1,6 +1,6 @@
/* Common output function for ps & w
- Copyright (C) 1995, 1996 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
Written by Miles Bader <miles@gnu.ai.mit.edu>
@@ -23,9 +23,10 @@
#include <ps.h>
-void psout (struct proc_stat_list *procs,
- char *fmt_string, int posix_fmt, struct ps_fmt_specs *specs,
- char *sort_key_name, int sort_reverse,
+void psout (const struct proc_stat_list *procs,
+ const char *fmt_string, int posix_fmt,
+ const struct ps_fmt_specs *specs,
+ const char *sort_key_name, int sort_reverse,
int output_width, int print_heading,
int squash_bogus_fields, int squash_nominal_fields,
int top);