diff options
author | Ben Brewer <ben.brewer@codethink.co.uk> | 2014-05-30 16:59:48 +0100 |
---|---|---|
committer | Ben Brewer <ben.brewer@codethink.co.uk> | 2014-06-04 12:44:01 +0100 |
commit | cbe6a4f51bc27c4e8a81f89876c3ae469c8bf67e (patch) | |
tree | 5f609d867452e52887f434e1f7f3583c1a63aaa6 /tbdiff/tbdiff-stat.c | |
parent | 4f69a8fadbd90eb6ff979b6dad57f6de631e3734 (diff) | |
download | tbdiff-cbe6a4f51bc27c4e8a81f89876c3ae469c8bf67e.tar.gz |
Remove tbd_stat_fopen since it's no longer used
Since we now use POSIX file functions only in tbdiff-create, we
no longer need tbd_stat_fopen, so it's been removed.
Diffstat (limited to 'tbdiff/tbdiff-stat.c')
-rw-r--r-- | tbdiff/tbdiff-stat.c | 12 |
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; -} |