summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
authorJeremie Koenig <jk@jk.fr.eu.org>2010-08-23 11:24:29 +0000
committerJeremie Koenig <jk@jk.fr.eu.org>2010-08-30 14:31:21 +0200
commit0277bc261796743148769a3f76f9cae51c61e0a4 (patch)
tree6a0c120cb9ff06d67a9d88847cb6391d9c89c15b /process.c
parentbff8f1d6895d32ded381e68cd647e437b28e22bf (diff)
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/process.c b/process.c
index 7f5646ae..fa795522 100644
--- a/process.c
+++ b/process.c
@@ -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;