diff options
author | Miles Bader <miles@gnu.org> | 1995-05-31 18:16:41 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1995-05-31 18:16:41 +0000 |
commit | e5ccbc72317d53220879fb58d735202e48058092 (patch) | |
tree | 6392331699a3de4d7ac981b94934e77d21b6a536 /libps/ps.h | |
parent | bd06fb10d27dd0d4e869b35b17a318b8177089c6 (diff) |
(ps_own_filter, ps_not_sess_leader_filter, ps_ctty_filter,
ps_unorphaned_filter, ps_parent_filter): Declare these as extern so that the
linker will bring in the initialized version (it's not doing so otherwise may
be a bug).
Diffstat (limited to 'libps/ps.h')
-rw-r--r-- | libps/ps.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -450,17 +450,17 @@ struct ps_filter operator to get a ps_filter_t from them */ /* A filter that retains only process's owned by getuid() */ -struct ps_filter ps_own_filter; +extern struct ps_filter ps_own_filter; /* A filter that retains only process's that aren't session leaders */ -struct ps_filter ps_not_sess_leader_filter; +extern struct ps_filter ps_not_sess_leader_filter; /* A filter that retains only process's with a controlling terminal */ -struct ps_filter ps_ctty_filter; +extern struct ps_filter ps_ctty_filter; /* A filter that retains only `unorphaned' process. A process is unorphaned if it's a session leader, or the process's process group is not orphaned */ -struct ps_filter ps_unorphaned_filter; +extern struct ps_filter ps_unorphaned_filter; /* A filter that retains only `parented' process. Typically only hurd processes have parents. */ -struct ps_filter ps_parent_filter; +extern struct ps_filter ps_parent_filter; /* ---------------------------------------------------------------- */ /* |