aboutsummaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorEarnie Boyd <earnie@users.sf.net>2002-09-05 11:51:26 +0000
committerEarnie Boyd <earnie@users.sf.net>2002-09-05 11:51:26 +0000
commit31736d17680ef03119f388bc19db77ee272cdf48 (patch)
tree7d169e1e8d0e6f166054a8a88a7afd613bf07c2d /winsup
parent1730adee69d95f0067f2b81937edb741f8d5e848 (diff)
downloadnewlib-31736d17680ef03119f388bc19db77ee272cdf48.zip
newlib-31736d17680ef03119f388bc19db77ee272cdf48.tar.gz
newlib-31736d17680ef03119f388bc19db77ee272cdf48.tar.bz2
* mingwex/fegetenv.c: Change to \n line endings.
* mingwex/vsnprintf.c: Ditto. * mingwex/vsnwprintf.c: Ditto.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/mingw/ChangeLog6
-rw-r--r--winsup/mingw/mingwex/fegetenv.c24
-rw-r--r--winsup/mingw/mingwex/vsnprintf.c10
-rw-r--r--winsup/mingw/mingwex/vsnwprintf.c10
4 files changed, 28 insertions, 22 deletions
diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog
index d1c1085..654e975 100644
--- a/winsup/mingw/ChangeLog
+++ b/winsup/mingw/ChangeLog
@@ -1,3 +1,9 @@
+2002-09-05 Earnie Boyd <earnie@users.sf.net>
+
+ * mingwex/fegetenv.c: Change to \n line endings.
+ * mingwex/vsnprintf.c: Ditto.
+ * mingwex/vsnwprintf.c: Ditto.
+
2002-09-02 Danny Smith <dannysmith@users.sourceforge.net>
* 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 8af5103..5ea5bd0 100644
--- a/winsup/mingw/mingwex/fegetenv.c
+++ b/winsup/mingw/mingwex/fegetenv.c
@@ -1,12 +1,12 @@
-#include <fenv.h>
-
-/* 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 <fenv.h>
+
+/* 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 466e064..f3dce5b 100644
--- a/winsup/mingw/mingwex/vsnprintf.c
+++ b/winsup/mingw/mingwex/vsnprintf.c
@@ -1,5 +1,5 @@
-#include <stdarg.h>
-#include <stdio.h>
-
-int vsnprintf (char* s, size_t n, const char* format, va_list arg)
- { return _vsnprintf ( s, n, format, arg); }
+#include <stdarg.h>
+#include <stdio.h>
+
+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 05a1ec9..1b59a07 100644
--- a/winsup/mingw/mingwex/vsnwprintf.c
+++ b/winsup/mingw/mingwex/vsnwprintf.c
@@ -1,5 +1,5 @@
-#include <stdarg.h>
-#include <wchar.h>
-
-int vsnwprintf(wchar_t *buffer, size_t n, const wchar_t * format, va_list argptr)
- { return _vsnwprintf( buffer, n, format, argptr );}
+#include <stdarg.h>
+#include <wchar.h>
+
+int vsnwprintf(wchar_t *buffer, size_t n, const wchar_t * format, va_list argptr)
+ { return _vsnwprintf( buffer, n, format, argptr );}