diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog index d1c1085ea..654e975df 100644 --- a/winsup/mingw/ChangeLog +++ b/winsup/mingw/ChangeLog @@ -1,3 +1,9 @@ +2002-09-05 Earnie Boyd + + * mingwex/fegetenv.c: Change to \n line endings. + * mingwex/vsnprintf.c: Ditto. + * mingwex/vsnwprintf.c: Ditto. + 2002-09-02 Danny Smith * mingwex/math/hypotl.c: Replace with version based on cephes diff --git a/winsup/mingw/mingwex/fegetenv.c b/winsup/mingw/mingwex/fegetenv.c index 8af510337..5ea5bd011 100644 --- a/winsup/mingw/mingwex/fegetenv.c +++ b/winsup/mingw/mingwex/fegetenv.c @@ -1,12 +1,12 @@ -#include - -/* 7.6.4.1 - The fegetenv function stores the current floating-point environment - in the object pointed to by envp. */ - -int fegetenv (fenv_t * envp) -{ - __asm__ ("fnstenv %0;": "=m" (*envp)); - return 0; -} - +#include + +/* 7.6.4.1 + The fegetenv function stores the current floating-point environment + in the object pointed to by envp. */ + +int fegetenv (fenv_t * envp) +{ + __asm__ ("fnstenv %0;": "=m" (*envp)); + return 0; +} + diff --git a/winsup/mingw/mingwex/vsnprintf.c b/winsup/mingw/mingwex/vsnprintf.c index 466e064e9..f3dce5b67 100644 --- a/winsup/mingw/mingwex/vsnprintf.c +++ b/winsup/mingw/mingwex/vsnprintf.c @@ -1,5 +1,5 @@ -#include -#include - -int vsnprintf (char* s, size_t n, const char* format, va_list arg) - { return _vsnprintf ( s, n, format, arg); } +#include +#include + +int vsnprintf (char* s, size_t n, const char* format, va_list arg) + { return _vsnprintf ( s, n, format, arg); } diff --git a/winsup/mingw/mingwex/vsnwprintf.c b/winsup/mingw/mingwex/vsnwprintf.c index 05a1ec9b0..1b59a078b 100644 --- a/winsup/mingw/mingwex/vsnwprintf.c +++ b/winsup/mingw/mingwex/vsnwprintf.c @@ -1,5 +1,5 @@ -#include -#include - -int vsnwprintf(wchar_t *buffer, size_t n, const wchar_t * format, va_list argptr) - { return _vsnwprintf( buffer, n, format, argptr );} +#include +#include + +int vsnwprintf(wchar_t *buffer, size_t n, const wchar_t * format, va_list argptr) + { return _vsnwprintf( buffer, n, format, argptr );}