summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libps/ps.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libps/ps.h b/libps/ps.h
index f85a6914..dc1bb0ef 100644
--- a/libps/ps.h
+++ b/libps/ps.h
@@ -542,7 +542,7 @@ struct ps_fmt_spec
/* An array of struct ps_fmt_spec, suitable for use with find_ps_fmt_spec,
containing specs for most values in a proc_stat_t. */
-struct ps_fmt_spec ps_std_fmt_specs[];
+extern struct ps_fmt_spec ps_std_fmt_specs[];
/* Searches for a spec called NAME in SPECS (an array of struct ps_fmt_spec)
and returns it if found, otherwise NULL. */