summaryrefslogtreecommitdiff
path: root/tbdiff/tbdiff-stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'tbdiff/tbdiff-stat.c')
-rw-r--r--tbdiff/tbdiff-stat.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/tbdiff/tbdiff-stat.c b/tbdiff/tbdiff-stat.c
index b0876ec..aabf237 100644
--- a/tbdiff/tbdiff-stat.c
+++ b/tbdiff/tbdiff-stat.c
@@ -258,15 +258,3 @@ tbd_stat_open(struct tbd_stat *file, int flags)
free(path);
return fd;
}
-
-FILE*
-tbd_stat_fopen(struct tbd_stat *file,
- const char *mode)
-{
- char *path = tbd_stat_path(file);
- if(path == NULL)
- return NULL;
- FILE *fp = fopen(path, mode);
- free(path);
- return fp;
-}