OSDN Git Service

remove another two warnings.
authorWaldemar Brodkorb <wbx@uclibc-ng.org>
Tue, 30 Dec 2014 20:28:10 +0000 (21:28 +0100)
committerWaldemar Brodkorb <wbx@uclibc-ng.org>
Tue, 30 Dec 2014 20:28:10 +0000 (21:28 +0100)
libc/stdio/__fpending.c
libc/sysdeps/linux/common/bits/uClibc_fpmax.h

index a7fe054..e7e33e8 100644 (file)
  * 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);
index bbea1ae..b7dcee1 100644 (file)
@@ -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