mirror of
https://sourceware.org/git/glibc.git
synced 2025-10-24 13:33:08 +03:00
stdio-common: Convert macros across scanf input specifier tests
Convert 'compare_real', 'read_real', and 'verify_input' macros to functions so as to improve readability and avoid pitfalls. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
@@ -60,11 +60,6 @@
|
||||
#ifndef TYPE_T_UNSIGNED_P
|
||||
# define TYPE_T_UNSIGNED_P 0
|
||||
#endif
|
||||
#if TYPE_T_UNSIGNED_P
|
||||
# define UNSIGNED unsigned
|
||||
#else
|
||||
# define UNSIGNED
|
||||
#endif
|
||||
|
||||
/* Read and return a single character from standard input, returning
|
||||
end-of-file or error status indication where applicable. */
|
||||
|
||||
Reference in New Issue
Block a user