From d2f48d1aa103653da9c807a65b869637fe828d9c Mon Sep 17 00:00:00 2001 From: Moritz Schulte Date: Mon, 9 Dec 2002 15:51:25 +0000 Subject: 2002-12-09 Moritz Schulte * lib.h: Fix pointer arg. * lib.c (dir_entries_get): Likewise. * lib.c (dir_entries_get): Fix typo. (dir_entries_get): Change type of data_size to size_t. * node.c (node_entries_get): Change type of dirent_data_size to size_t. --- lib.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib.h') diff --git a/lib.h b/lib.h index c3dfbbd..7699bd8 100644 --- a/lib.h +++ b/lib.h @@ -46,7 +46,8 @@ *DIRENT_DATA_SIZE and a list of pointers to the dirent structures in *DIRENT_LIST. */ error_t dir_entries_get (file_t dir, char **dirent_data, - int *dirent_data_size, struct dirent **dirent_list); + size_t *dirent_data_size, + struct dirent ***dirent_list); /* Lookup the file named NAME beneath DIR (or the cwd, if DIR is not a valid port. Try to open with FLAGS0 first, and if that fails with -- cgit v1.2.3