From 75bf04114e2b734052d4635175522150c3fb1872 Mon Sep 17 00:00:00 2001 From: Chris Sutcliffe Date: Sat, 8 Aug 2009 13:26:11 +0000 Subject: 2009-08-08 Danny Smith * include/math.h (__fpclassifyl, __isnan, __isnanf, isnanl, __signbit, __signbitf, __signbitl, sinhf, tanhf, expf, frexpf, ldexpf, hypotf, powf, __fp_unordered_compare): Add prototypes. * include/stdio.h (vsnwprintf): Add prototype. * include/wchar.h (vsnwprintf): Add prototype. * include/unistd.h (ftruncate): Move prototype out of __NO_INLINE__ guard. --- winsup/mingw/include/unistd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/mingw/include/unistd.h') 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); -- cgit v1.2.3