diff options
author | Alberto Ruiz <alberto.ruiz@codethink.co.uk> | 2011-10-04 11:13:11 +0100 |
---|---|---|
committer | Alberto Ruiz <alberto.ruiz@codethink.co.uk> | 2011-10-04 11:13:11 +0100 |
commit | 51729f14d4e1b3f443992cfdac3071057bf916b8 (patch) | |
tree | 53ea716aaa149bba49f4b81e291ac51a106079f7 | |
parent | c52f4ad8f9c725cbd7f4fcc2b672effcdd52b438 (diff) | |
download | tbdiff-51729f14d4e1b3f443992cfdac3071057bf916b8.tar.gz |
Renamed _tbd_stat to tbd_stat_from_path
-rw-r--r-- | libtbd_stat.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libtbd_stat.c b/libtbd_stat.c index b15d49a..b7f03ea 100644 --- a/libtbd_stat.c +++ b/libtbd_stat.c @@ -31,8 +31,8 @@ static tbd_stat_t* -_tbd_stat(const char *name, - const char *path) +tbd_stat_from_path(const char *name, + const char *path) { struct stat info; @@ -97,7 +97,7 @@ _tbd_stat(const char *name, tbd_stat_t* tbd_stat(const char *path) { - tbd_stat_t *ret = _tbd_stat(path, path); + tbd_stat_t *ret = tbd_stat_from_path(path, path); return ret; } @@ -147,7 +147,7 @@ tbd_stat_entry(tbd_stat_t *file, uint32_t entry) if(spath == NULL) return NULL; - tbd_stat_t *ret = _tbd_stat(ds->d_name, (const char*)spath); + tbd_stat_t *ret = tbd_stat_from_path(ds->d_name, (const char*)spath); free(spath); @@ -183,7 +183,7 @@ tbd_stat_entry_find(tbd_stat_t *file, return NULL; } - tbd_stat_t *ret = _tbd_stat(ds->d_name, (const char *)spath); + tbd_stat_t *ret = tbd_stat_from_path(ds->d_name, (const char*)spath); free(spath); ret->parent = file; |