diff options
author | Jeremie Koenig <jk@jk.fr.eu.org> | 2010-08-23 09:06:01 +0000 |
---|---|---|
committer | Jeremie Koenig <jk@jk.fr.eu.org> | 2010-08-30 14:29:53 +0200 |
commit | 4deaca2ce2c4ed2c5ab53f57a7747c71126a8da7 (patch) | |
tree | ecd58a1b4cd0b80ed3b7ca838c8bb94731b2f833 /proclist.h | |
parent | 4f40fb6fbfa95c51b6abfceffcd0e1ce80824e70 (diff) | |
download | hurd-4deaca2ce2c4ed2c5ab53f57a7747c71126a8da7.tar.gz hurd-4deaca2ce2c4ed2c5ab53f57a7747c71126a8da7.tar.bz2 hurd-4deaca2ce2c4ed2c5ab53f57a7747c71126a8da7.zip |
Use a global ps_context
* proclist.c, proclist.h (proclist_create_node): Use a
ps_context passed by the caller; errors are no longer possible, rename
to proclist_make_node and change the signature accordingly.
* rootdir.c, rootdir.h (rootdir_create_node): Likewise.
* main.c (main): Create the ps_context here and pass it to
root_make_node. (root_make_node): Pass it to proclist_make_node and
rootdir_make_node.
Diffstat (limited to 'proclist.h')
-rw-r--r-- | proclist.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,2 +1,4 @@ -#include <hurd/hurd_types.h> -error_t proclist_create_node (process_t procserv, struct node **np); +#include <ps.h> + +struct node * +proclist_make_node (struct ps_context *pc); |