[PATCH v1 11/35] stdio-common/vfscanf-internal.c: Remove LONGLONG macro
Alejandro Colomar
alx@kernel.org
Sun Nov 9 21:53:13 GMT 2025
It's unconditionally defined as 'long long'.
Signed-off-by: Alejandro Colomar <alx@kernel.org>
---
stdio-common/vfscanf-internal.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/stdio-common/vfscanf-internal.c b/stdio-common/vfscanf-internal.c
index 0afae4b4e8..8720cc300a 100644
--- a/stdio-common/vfscanf-internal.c
+++ b/stdio-common/vfscanf-internal.c
@@ -33,8 +33,6 @@
#include <locale/localeinfo.h>
#include <scratch_buffer.h>
-# define LONGLONG long long
-
/* Determine whether we have to handle `long long' at all. */
#if LONG_MAX == LONG_LONG_MAX
# define need_longlong 0
@@ -1971,7 +1969,7 @@ digits_extended_fail:
if (flags & NUMBER_SIGNED)
{
if (need_longlong && (flags & LONGDBL))
- *ARG (LONGLONG int *) = num.q;
+ *ARG (long long int *) = num.q;
else if (need_long && (flags & LONG))
*ARG (long int *) = num.l;
else if (flags & SHORT)
@@ -1984,7 +1982,7 @@ digits_extended_fail:
else
{
if (need_longlong && (flags & LONGDBL))
- *ARG (unsigned LONGLONG int *) = num.uq;
+ *ARG (unsigned long long int *) = num.uq;
else if (need_long && (flags & LONG))
*ARG (unsigned long int *) = num.ul;
else if (flags & SHORT)
--
2.51.0
More information about the Libc-alpha
mailing list