OSDN Git Service
(root)
/
android-x86
/
external-exfat.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean up unused parameters in libexfat.
[android-x86/external-exfat.git]
/
libexfat
/
lookup.c
diff --git
a/libexfat/lookup.c
b/libexfat/lookup.c
index
4b27cc5
..
137a84a
100644
(file)
--- a/
libexfat/lookup.c
+++ b/
libexfat/lookup.c
@@
-46,7
+46,7
@@
void exfat_closedir(struct exfat* ef, struct exfat_iterator* it)
it->current = NULL;
}
it->current = NULL;
}
-struct exfat_node* exfat_readdir(struct exfat
* ef, struct exfat
_iterator* it)
+struct exfat_node* exfat_readdir(struct exfat_iterator* it)
{
if (it->current == NULL)
it->current = it->parent->child;
{
if (it->current == NULL)
it->current = it->parent->child;
@@
-93,7
+93,7
@@
static int lookup_name(struct exfat* ef, struct exfat_node* parent,
rc = exfat_opendir(ef, parent, &it);
if (rc != 0)
return rc;
rc = exfat_opendir(ef, parent, &it);
if (rc != 0)
return rc;
- while ((*node = exfat_readdir(
ef,
&it)))
+ while ((*node = exfat_readdir(&it)))
{
if (compare_name(ef, buffer, (*node)->name) == 0)
{
{
if (compare_name(ef, buffer, (*node)->name) == 0)
{