summaryrefslogtreecommitdiff
path: root/lib.h
diff options
context:
space:
mode:
authorMoritz Schulte <moritz@duesseldorf.ccc.de>2002-12-09 15:51:25 +0000
committerMoritz Schulte <moritz@duesseldorf.ccc.de>2002-12-09 15:51:25 +0000
commitd2f48d1aa103653da9c807a65b869637fe828d9c (patch)
treefc99439118dacedb565114527f0d8bc68a9c1745 /lib.h
parentb80dd16fe47ef62557afdfac1bc1c7a1f1490788 (diff)
2002-12-09 Moritz Schulte <moritz@duesseldorf.ccc.de>
* 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.
Diffstat (limited to 'lib.h')
-rw-r--r--lib.h3
1 files changed, 2 insertions, 1 deletions
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