Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/mingw/include/unistd.h')
-rw-r--r--winsup/mingw/include/unistd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/mingw/include/unistd.h b/winsup/mingw/include/unistd.h
index f84379732..5b828ebb0 100644
--- a/winsup/mingw/include/unistd.h
+++ b/winsup/mingw/include/unistd.h
@@ -38,8 +38,8 @@ int __cdecl __MINGW_NOTHROW usleep(useconds_t useconds);
/* This is defined as a real library function to allow autoconf
to verify its existence. */
-#ifndef __NO_INLINE__
int ftruncate(int, off_t);
+#ifndef __NO_INLINE__
__CRT_INLINE int ftruncate(int __fd, off_t __length)
{
return _chsize (__fd, __length);