From fdffefb8032922ce7ffe4c00816072a8ff2148fc Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 17 Feb 2017 22:30:53 +0000 Subject: More types changes New disize Add size_t to the autotypes list Delete redundant and replace-libc files dev_t/ino_t pass Big size_t pass More things missing, still not operational yet --- src/libunixonacid/openwritenclose_tmp.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/libunixonacid/openwritenclose_tmp.c') diff --git a/src/libunixonacid/openwritenclose_tmp.c b/src/libunixonacid/openwritenclose_tmp.c index 1ada80b..5b3fe15 100644 --- a/src/libunixonacid/openwritenclose_tmp.c +++ b/src/libunixonacid/openwritenclose_tmp.c @@ -1,11 +1,13 @@ /* ISC license. */ -#include +#include +#include #include #include -int openwritenclose_tmp (char const *fn, char const *s, unsigned int len, stralloc *tmp) +int openwritenclose_tmp (char const *fn, char const *s, size_t len, stralloc *tmp) { - uint64 dev, ino ; + dev_t dev ; + ino_t ino ; return openwritenclose_devino_tmp(fn, s, len, &dev, &ino, tmp) ; } -- cgit v1.2.3