summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberto Ruiz <alberto.ruiz@codethink.co.uk>2011-10-04 02:09:56 +0100
committerAlberto Ruiz <alberto.ruiz@codethink.co.uk>2011-10-04 02:09:56 +0100
commit6ef9dd768df729b9e4d60cd0e77bd433d7dc6e8f (patch)
tree6065e00bba2821772d9c32cf613e2615c00956ec
parentece2c8f162a0f810ccaff946c216def18cc47f2f (diff)
downloadtbdiff-6ef9dd768df729b9e4d60cd0e77bd433d7dc6e8f.tar.gz
Remove double underscore from _tdb_stat
-rw-r--r--libtbd_stat.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/libtbd_stat.c b/libtbd_stat.c
index 006d2fc..388123a 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(const char *name,
+ const char *path)
{
struct stat info;
@@ -102,7 +102,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(path, path);
return ret;
}
@@ -152,7 +152,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(ds->d_name, (const char*)spath);
free(spath);
@@ -189,8 +189,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(ds->d_name, (const char *)spath);
free(spath);
ret->parent = file;