summaryrefslogtreecommitdiff
path: root/tbdiff/tbdiff-common.h
diff options
context:
space:
mode:
authorBen Brewer <ben.brewer@codethink.co.uk>2014-05-30 16:45:53 +0100
committerBen Brewer <ben.brewer@codethink.co.uk>2014-06-04 12:44:01 +0100
commit0398b8bca477daf22f549fa3152a04abdc8da947 (patch)
treeb5cd3e1399ba42fd5a07785f8b6c5589638c65d9 /tbdiff/tbdiff-common.h
parent56bb60f7e0a4b79ec8da62dccd054b87d7469fb6 (diff)
downloadtbdiff-0398b8bca477daf22f549fa3152a04abdc8da947.tar.gz
Use POSIX file functions for tbdiff-create stream
POSIX file functions are more consistent and simple, originally stdio was used to make the code as portable as possible, however since it now relies on POSIX functionality anyway there's no need for the inconsistency.
Diffstat (limited to 'tbdiff/tbdiff-common.h')
-rw-r--r--tbdiff/tbdiff-common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tbdiff/tbdiff-common.h b/tbdiff/tbdiff-common.h
index 193b462..9b5b5f3 100644
--- a/tbdiff/tbdiff-common.h
+++ b/tbdiff/tbdiff-common.h
@@ -127,6 +127,6 @@ tbd_error(enum tbd_error e, char const *s, char const *func, int line,
#endif
int tbd_apply (FILE *stream);
-int tbd_create(FILE *stream, struct tbd_stat *a, struct tbd_stat *b);
+int tbd_create(int stream, struct tbd_stat *a, struct tbd_stat *b);
#endif /* !__TBDIFF_COMMON_H__ */