Browse Source

remove another two warnings.

Waldemar Brodkorb 9 years ago
parent
commit
e762a60c73
2 changed files with 0 additions and 11 deletions
  1. 0 7
      libc/stdio/__fpending.c
  2. 0 4
      libc/sysdeps/linux/common/bits/uClibc_fpmax.h

+ 0 - 7
libc/stdio/__fpending.c

@@ -18,13 +18,6 @@
  * convert wide chars to their multibyte encodings and buffer _those_.
  */
 
-#ifdef __UCLIBC_HAS_WCHAR__
-#warning Note: Unlike the glibc version, this __fpending returns bytes in buffer for wide streams too!
-
-link_warning(__fpending, "This version of __fpending returns bytes remaining in buffer for both narrow and wide streams.  glibc's version returns wide chars in buffer for the wide stream case.")
-
-#endif
-
 size_t __fpending(register FILE * __restrict stream)
 {
 	__STDIO_STREAM_VALIDATE(stream);

+ 0 - 4
libc/sysdeps/linux/common/bits/uClibc_fpmax.h

@@ -68,10 +68,6 @@ typedef float __fpmax_t;
 
 #ifndef DECIMAL_DIG
 
-#ifdef L___strtofpmax
-/* Emit warning only once. */
-#warning DECIMAL_DIG is not defined! If you are using gcc, it may not be defining __STDC_VERSION__ as it should.
-#endif
 #if !defined(FLT_RADIX) || (FLT_RADIX != 2)
 #error unable to compensate for missing DECIMAL_DIG!
 #endif