diff options
author | Jeremie Koenig <jk@jk.fr.eu.org> | 2010-08-23 11:24:29 +0000 |
---|---|---|
committer | Jeremie Koenig <jk@jk.fr.eu.org> | 2010-08-30 14:31:21 +0200 |
commit | 0f2bdacd6ad3dbcc905925dee12cb30918c33a11 (patch) | |
tree | fbcadf8294b3314bb0a924339c00bc7bb89d6d79 /process.c | |
parent | a269783a41ae8b18e5b24d934c96ce9e90de3067 (diff) | |
download | hurd-0f2bdacd6ad3dbcc905925dee12cb30918c33a11.tar.gz hurd-0f2bdacd6ad3dbcc905925dee12cb30918c33a11.tar.bz2 hurd-0f2bdacd6ad3dbcc905925dee12cb30918c33a11.zip |
Make contents a char* to avoid typecasts all over the place
* procfs.h (procfs_cleanup_contents_with_free,
procfs_cleanup_contents_with_vm_deallocate, procfs_get_contents,
struct procfs_ops): Change CONTENTS from a void pointer to a char one.
* dircat.c, netfs.c, process.c, procfs.c,
procfs_dir.c, proclist.c, rootdir.c: Update.
Diffstat (limited to 'process.c')
-rw-r--r-- | process.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -204,7 +204,7 @@ struct process_file_node }; static error_t -process_file_get_contents (void *hook, void **contents, size_t *contents_len) +process_file_get_contents (void *hook, char **contents, size_t *contents_len) { struct process_file_node *file = hook; error_t err; |