public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/azanella/clang] libio: Use __libc_feof_unlocked instead of __feof_unlocked
@ 2022-03-16 18:03 Adhemerval Zanella
  0 siblings, 0 replies; 12+ messages in thread
From: Adhemerval Zanella @ 2022-03-16 18:03 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=1147dbc2fdd0952748c1d4fe88abe1e84a13ceb9

commit 1147dbc2fdd0952748c1d4fe88abe1e84a13ceb9
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Mon Mar 14 15:04:55 2022 -0300

    libio: Use __libc_feof_unlocked instead of __feof_unlocked
    
    Internal __feof_unlocked is done using a inline function (regardless
    of __USE_EXTERN_INLINES).  The internal alias is removed since it is
    not used.

Diff:
---
 include/stdio.h | 9 ++++-----
 libio/feof_u.c  | 5 ++---
 2 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/include/stdio.h b/include/stdio.h
index 9c7d83b733..f1509888d7 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -241,8 +241,7 @@ libc_hidden_proto (__fgets_unlocked)
 libc_hidden_proto (fputs_unlocked)
 extern __typeof (fputs_unlocked) __fputs_unlocked;
 libc_hidden_proto (__fputs_unlocked)
-libc_hidden_proto (feof_unlocked)
-extern __typeof (feof_unlocked) __feof_unlocked attribute_hidden;
+extern __typeof (feof_unlocked) __libc_feof_unlocked;
 libc_hidden_proto (ferror_unlocked)
 extern __typeof (ferror_unlocked) __ferror_unlocked attribute_hidden;
 libc_hidden_proto (getc_unlocked)
@@ -264,13 +263,13 @@ libc_hidden_proto (__fmemopen)
 extern int __gen_tempfd (int flags);
 libc_hidden_proto (__gen_tempfd)
 
-#  ifdef __USE_EXTERN_INLINES
-__extern_inline int
-__NTH (__feof_unlocked (FILE *__stream))
+static inline int
+__feof_unlocked (FILE *__stream)
 {
   return __feof_unlocked_body (__stream);
 }
 
+#  ifdef __USE_EXTERN_INLINES
 __extern_inline int
 __NTH (__ferror_unlocked (FILE *__stream))
 {
diff --git a/libio/feof_u.c b/libio/feof_u.c
index 5b7477ef54..3db56109c6 100644
--- a/libio/feof_u.c
+++ b/libio/feof_u.c
@@ -30,10 +30,9 @@
 #undef feof_unlocked
 
 int
-__feof_unlocked (FILE *fp)
+__libc_feof_unlocked (FILE *fp)
 {
   CHECK_FILE (fp, EOF);
   return _IO_feof_unlocked (fp);
 }
-weak_alias (__feof_unlocked, feof_unlocked)
-libc_hidden_weak (feof_unlocked)
+weak_alias (__libc_feof_unlocked, feof_unlocked)


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [glibc/azanella/clang] libio: Use __libc_feof_unlocked instead of __feof_unlocked
@ 2022-06-09 21:20 Adhemerval Zanella
  0 siblings, 0 replies; 12+ messages in thread
From: Adhemerval Zanella @ 2022-06-09 21:20 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=c169c9fd61884f6c05480c50dfda4e992ad94304

commit c169c9fd61884f6c05480c50dfda4e992ad94304
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Mon Mar 14 15:04:55 2022 -0300

    libio: Use __libc_feof_unlocked instead of __feof_unlocked
    
    Internal __feof_unlocked is done using a inline function (regardless
    of __USE_EXTERN_INLINES).  The internal alias is removed since it is
    not used.

Diff:
---
 include/stdio.h | 9 ++++-----
 libio/feof_u.c  | 5 ++---
 2 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/include/stdio.h b/include/stdio.h
index b8f6f8f8b1..51a8d65f22 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -242,8 +242,7 @@ libc_hidden_proto (__fgets_unlocked)
 libc_hidden_proto (fputs_unlocked)
 extern __typeof (fputs_unlocked) __fputs_unlocked;
 libc_hidden_proto (__fputs_unlocked)
-libc_hidden_proto (feof_unlocked)
-extern __typeof (feof_unlocked) __feof_unlocked attribute_hidden;
+extern __typeof (feof_unlocked) __libc_feof_unlocked;
 libc_hidden_proto (ferror_unlocked)
 extern __typeof (ferror_unlocked) __ferror_unlocked attribute_hidden;
 libc_hidden_proto (getc_unlocked)
@@ -265,13 +264,13 @@ libc_hidden_proto (__fmemopen)
 extern int __gen_tempfd (int flags);
 libc_hidden_proto (__gen_tempfd)
 
-#  ifdef __USE_EXTERN_INLINES
-__extern_inline int
-__NTH (__feof_unlocked (FILE *__stream))
+static inline int
+__feof_unlocked (FILE *__stream)
 {
   return __feof_unlocked_body (__stream);
 }
 
+#  ifdef __USE_EXTERN_INLINES
 __extern_inline int
 __NTH (__ferror_unlocked (FILE *__stream))
 {
diff --git a/libio/feof_u.c b/libio/feof_u.c
index 5b7477ef54..3db56109c6 100644
--- a/libio/feof_u.c
+++ b/libio/feof_u.c
@@ -30,10 +30,9 @@
 #undef feof_unlocked
 
 int
-__feof_unlocked (FILE *fp)
+__libc_feof_unlocked (FILE *fp)
 {
   CHECK_FILE (fp, EOF);
   return _IO_feof_unlocked (fp);
 }
-weak_alias (__feof_unlocked, feof_unlocked)
-libc_hidden_weak (feof_unlocked)
+weak_alias (__libc_feof_unlocked, feof_unlocked)


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [glibc/azanella/clang] libio: Use __libc_feof_unlocked instead of __feof_unlocked
@ 2022-06-09 13:16 Adhemerval Zanella
  0 siblings, 0 replies; 12+ messages in thread
From: Adhemerval Zanella @ 2022-06-09 13:16 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=c169c9fd61884f6c05480c50dfda4e992ad94304

commit c169c9fd61884f6c05480c50dfda4e992ad94304
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Mon Mar 14 15:04:55 2022 -0300

    libio: Use __libc_feof_unlocked instead of __feof_unlocked
    
    Internal __feof_unlocked is done using a inline function (regardless
    of __USE_EXTERN_INLINES).  The internal alias is removed since it is
    not used.

Diff:
---
 include/stdio.h | 9 ++++-----
 libio/feof_u.c  | 5 ++---
 2 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/include/stdio.h b/include/stdio.h
index b8f6f8f8b1..51a8d65f22 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -242,8 +242,7 @@ libc_hidden_proto (__fgets_unlocked)
 libc_hidden_proto (fputs_unlocked)
 extern __typeof (fputs_unlocked) __fputs_unlocked;
 libc_hidden_proto (__fputs_unlocked)
-libc_hidden_proto (feof_unlocked)
-extern __typeof (feof_unlocked) __feof_unlocked attribute_hidden;
+extern __typeof (feof_unlocked) __libc_feof_unlocked;
 libc_hidden_proto (ferror_unlocked)
 extern __typeof (ferror_unlocked) __ferror_unlocked attribute_hidden;
 libc_hidden_proto (getc_unlocked)
@@ -265,13 +264,13 @@ libc_hidden_proto (__fmemopen)
 extern int __gen_tempfd (int flags);
 libc_hidden_proto (__gen_tempfd)
 
-#  ifdef __USE_EXTERN_INLINES
-__extern_inline int
-__NTH (__feof_unlocked (FILE *__stream))
+static inline int
+__feof_unlocked (FILE *__stream)
 {
   return __feof_unlocked_body (__stream);
 }
 
+#  ifdef __USE_EXTERN_INLINES
 __extern_inline int
 __NTH (__ferror_unlocked (FILE *__stream))
 {
diff --git a/libio/feof_u.c b/libio/feof_u.c
index 5b7477ef54..3db56109c6 100644
--- a/libio/feof_u.c
+++ b/libio/feof_u.c
@@ -30,10 +30,9 @@
 #undef feof_unlocked
 
 int
-__feof_unlocked (FILE *fp)
+__libc_feof_unlocked (FILE *fp)
 {
   CHECK_FILE (fp, EOF);
   return _IO_feof_unlocked (fp);
 }
-weak_alias (__feof_unlocked, feof_unlocked)
-libc_hidden_weak (feof_unlocked)
+weak_alias (__libc_feof_unlocked, feof_unlocked)


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [glibc/azanella/clang] libio: Use __libc_feof_unlocked instead of __feof_unlocked
@ 2022-06-03 14:06 Adhemerval Zanella
  0 siblings, 0 replies; 12+ messages in thread
From: Adhemerval Zanella @ 2022-06-03 14:06 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=87b37a1826c59cac7120c8e1d046df01492f5083

commit 87b37a1826c59cac7120c8e1d046df01492f5083
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Mon Mar 14 15:04:55 2022 -0300

    libio: Use __libc_feof_unlocked instead of __feof_unlocked
    
    Internal __feof_unlocked is done using a inline function (regardless
    of __USE_EXTERN_INLINES).  The internal alias is removed since it is
    not used.

Diff:
---
 include/stdio.h | 9 ++++-----
 libio/feof_u.c  | 5 ++---
 2 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/include/stdio.h b/include/stdio.h
index b8f6f8f8b1..51a8d65f22 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -242,8 +242,7 @@ libc_hidden_proto (__fgets_unlocked)
 libc_hidden_proto (fputs_unlocked)
 extern __typeof (fputs_unlocked) __fputs_unlocked;
 libc_hidden_proto (__fputs_unlocked)
-libc_hidden_proto (feof_unlocked)
-extern __typeof (feof_unlocked) __feof_unlocked attribute_hidden;
+extern __typeof (feof_unlocked) __libc_feof_unlocked;
 libc_hidden_proto (ferror_unlocked)
 extern __typeof (ferror_unlocked) __ferror_unlocked attribute_hidden;
 libc_hidden_proto (getc_unlocked)
@@ -265,13 +264,13 @@ libc_hidden_proto (__fmemopen)
 extern int __gen_tempfd (int flags);
 libc_hidden_proto (__gen_tempfd)
 
-#  ifdef __USE_EXTERN_INLINES
-__extern_inline int
-__NTH (__feof_unlocked (FILE *__stream))
+static inline int
+__feof_unlocked (FILE *__stream)
 {
   return __feof_unlocked_body (__stream);
 }
 
+#  ifdef __USE_EXTERN_INLINES
 __extern_inline int
 __NTH (__ferror_unlocked (FILE *__stream))
 {
diff --git a/libio/feof_u.c b/libio/feof_u.c
index 5b7477ef54..3db56109c6 100644
--- a/libio/feof_u.c
+++ b/libio/feof_u.c
@@ -30,10 +30,9 @@
 #undef feof_unlocked
 
 int
-__feof_unlocked (FILE *fp)
+__libc_feof_unlocked (FILE *fp)
 {
   CHECK_FILE (fp, EOF);
   return _IO_feof_unlocked (fp);
 }
-weak_alias (__feof_unlocked, feof_unlocked)
-libc_hidden_weak (feof_unlocked)
+weak_alias (__libc_feof_unlocked, feof_unlocked)


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [glibc/azanella/clang] libio: Use __libc_feof_unlocked instead of __feof_unlocked
@ 2022-05-13 14:19 Adhemerval Zanella
  0 siblings, 0 replies; 12+ messages in thread
From: Adhemerval Zanella @ 2022-05-13 14:19 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=c966fce17d9c825db4223c832a4dc7bfbb7c7910

commit c966fce17d9c825db4223c832a4dc7bfbb7c7910
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Mon Mar 14 15:04:55 2022 -0300

    libio: Use __libc_feof_unlocked instead of __feof_unlocked
    
    Internal __feof_unlocked is done using a inline function (regardless
    of __USE_EXTERN_INLINES).  The internal alias is removed since it is
    not used.

Diff:
---
 include/stdio.h | 9 ++++-----
 libio/feof_u.c  | 5 ++---
 2 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/include/stdio.h b/include/stdio.h
index b8f6f8f8b1..51a8d65f22 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -242,8 +242,7 @@ libc_hidden_proto (__fgets_unlocked)
 libc_hidden_proto (fputs_unlocked)
 extern __typeof (fputs_unlocked) __fputs_unlocked;
 libc_hidden_proto (__fputs_unlocked)
-libc_hidden_proto (feof_unlocked)
-extern __typeof (feof_unlocked) __feof_unlocked attribute_hidden;
+extern __typeof (feof_unlocked) __libc_feof_unlocked;
 libc_hidden_proto (ferror_unlocked)
 extern __typeof (ferror_unlocked) __ferror_unlocked attribute_hidden;
 libc_hidden_proto (getc_unlocked)
@@ -265,13 +264,13 @@ libc_hidden_proto (__fmemopen)
 extern int __gen_tempfd (int flags);
 libc_hidden_proto (__gen_tempfd)
 
-#  ifdef __USE_EXTERN_INLINES
-__extern_inline int
-__NTH (__feof_unlocked (FILE *__stream))
+static inline int
+__feof_unlocked (FILE *__stream)
 {
   return __feof_unlocked_body (__stream);
 }
 
+#  ifdef __USE_EXTERN_INLINES
 __extern_inline int
 __NTH (__ferror_unlocked (FILE *__stream))
 {
diff --git a/libio/feof_u.c b/libio/feof_u.c
index 5b7477ef54..3db56109c6 100644
--- a/libio/feof_u.c
+++ b/libio/feof_u.c
@@ -30,10 +30,9 @@
 #undef feof_unlocked
 
 int
-__feof_unlocked (FILE *fp)
+__libc_feof_unlocked (FILE *fp)
 {
   CHECK_FILE (fp, EOF);
   return _IO_feof_unlocked (fp);
 }
-weak_alias (__feof_unlocked, feof_unlocked)
-libc_hidden_weak (feof_unlocked)
+weak_alias (__libc_feof_unlocked, feof_unlocked)


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [glibc/azanella/clang] libio: Use __libc_feof_unlocked instead of __feof_unlocked
@ 2022-05-12 19:33 Adhemerval Zanella
  0 siblings, 0 replies; 12+ messages in thread
From: Adhemerval Zanella @ 2022-05-12 19:33 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=751eff89bec58b73c3a6a81bf1a1d2fa46bcf7be

commit 751eff89bec58b73c3a6a81bf1a1d2fa46bcf7be
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Mon Mar 14 15:04:55 2022 -0300

    libio: Use __libc_feof_unlocked instead of __feof_unlocked
    
    Internal __feof_unlocked is done using a inline function (regardless
    of __USE_EXTERN_INLINES).  The internal alias is removed since it is
    not used.

Diff:
---
 include/stdio.h | 9 ++++-----
 libio/feof_u.c  | 5 ++---
 2 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/include/stdio.h b/include/stdio.h
index b8f6f8f8b1..51a8d65f22 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -242,8 +242,7 @@ libc_hidden_proto (__fgets_unlocked)
 libc_hidden_proto (fputs_unlocked)
 extern __typeof (fputs_unlocked) __fputs_unlocked;
 libc_hidden_proto (__fputs_unlocked)
-libc_hidden_proto (feof_unlocked)
-extern __typeof (feof_unlocked) __feof_unlocked attribute_hidden;
+extern __typeof (feof_unlocked) __libc_feof_unlocked;
 libc_hidden_proto (ferror_unlocked)
 extern __typeof (ferror_unlocked) __ferror_unlocked attribute_hidden;
 libc_hidden_proto (getc_unlocked)
@@ -265,13 +264,13 @@ libc_hidden_proto (__fmemopen)
 extern int __gen_tempfd (int flags);
 libc_hidden_proto (__gen_tempfd)
 
-#  ifdef __USE_EXTERN_INLINES
-__extern_inline int
-__NTH (__feof_unlocked (FILE *__stream))
+static inline int
+__feof_unlocked (FILE *__stream)
 {
   return __feof_unlocked_body (__stream);
 }
 
+#  ifdef __USE_EXTERN_INLINES
 __extern_inline int
 __NTH (__ferror_unlocked (FILE *__stream))
 {
diff --git a/libio/feof_u.c b/libio/feof_u.c
index 5b7477ef54..3db56109c6 100644
--- a/libio/feof_u.c
+++ b/libio/feof_u.c
@@ -30,10 +30,9 @@
 #undef feof_unlocked
 
 int
-__feof_unlocked (FILE *fp)
+__libc_feof_unlocked (FILE *fp)
 {
   CHECK_FILE (fp, EOF);
   return _IO_feof_unlocked (fp);
 }
-weak_alias (__feof_unlocked, feof_unlocked)
-libc_hidden_weak (feof_unlocked)
+weak_alias (__libc_feof_unlocked, feof_unlocked)


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [glibc/azanella/clang] libio: Use __libc_feof_unlocked instead of __feof_unlocked
@ 2022-05-10 18:24 Adhemerval Zanella
  0 siblings, 0 replies; 12+ messages in thread
From: Adhemerval Zanella @ 2022-05-10 18:24 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=58815a406706f7d0a83dab9f42c000c6f1fadef6

commit 58815a406706f7d0a83dab9f42c000c6f1fadef6
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Mon Mar 14 15:04:55 2022 -0300

    libio: Use __libc_feof_unlocked instead of __feof_unlocked
    
    Internal __feof_unlocked is done using a inline function (regardless
    of __USE_EXTERN_INLINES).  The internal alias is removed since it is
    not used.

Diff:
---
 include/stdio.h | 9 ++++-----
 libio/feof_u.c  | 5 ++---
 2 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/include/stdio.h b/include/stdio.h
index b8f6f8f8b1..51a8d65f22 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -242,8 +242,7 @@ libc_hidden_proto (__fgets_unlocked)
 libc_hidden_proto (fputs_unlocked)
 extern __typeof (fputs_unlocked) __fputs_unlocked;
 libc_hidden_proto (__fputs_unlocked)
-libc_hidden_proto (feof_unlocked)
-extern __typeof (feof_unlocked) __feof_unlocked attribute_hidden;
+extern __typeof (feof_unlocked) __libc_feof_unlocked;
 libc_hidden_proto (ferror_unlocked)
 extern __typeof (ferror_unlocked) __ferror_unlocked attribute_hidden;
 libc_hidden_proto (getc_unlocked)
@@ -265,13 +264,13 @@ libc_hidden_proto (__fmemopen)
 extern int __gen_tempfd (int flags);
 libc_hidden_proto (__gen_tempfd)
 
-#  ifdef __USE_EXTERN_INLINES
-__extern_inline int
-__NTH (__feof_unlocked (FILE *__stream))
+static inline int
+__feof_unlocked (FILE *__stream)
 {
   return __feof_unlocked_body (__stream);
 }
 
+#  ifdef __USE_EXTERN_INLINES
 __extern_inline int
 __NTH (__ferror_unlocked (FILE *__stream))
 {
diff --git a/libio/feof_u.c b/libio/feof_u.c
index 5b7477ef54..3db56109c6 100644
--- a/libio/feof_u.c
+++ b/libio/feof_u.c
@@ -30,10 +30,9 @@
 #undef feof_unlocked
 
 int
-__feof_unlocked (FILE *fp)
+__libc_feof_unlocked (FILE *fp)
 {
   CHECK_FILE (fp, EOF);
   return _IO_feof_unlocked (fp);
 }
-weak_alias (__feof_unlocked, feof_unlocked)
-libc_hidden_weak (feof_unlocked)
+weak_alias (__libc_feof_unlocked, feof_unlocked)


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [glibc/azanella/clang] libio: Use __libc_feof_unlocked instead of __feof_unlocked
@ 2022-04-29 14:04 Adhemerval Zanella
  0 siblings, 0 replies; 12+ messages in thread
From: Adhemerval Zanella @ 2022-04-29 14:04 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=6172237e0625453de7ff9aa131213715f7cb85d2

commit 6172237e0625453de7ff9aa131213715f7cb85d2
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Mon Mar 14 15:04:55 2022 -0300

    libio: Use __libc_feof_unlocked instead of __feof_unlocked
    
    Internal __feof_unlocked is done using a inline function (regardless
    of __USE_EXTERN_INLINES).  The internal alias is removed since it is
    not used.

Diff:
---
 include/stdio.h | 9 ++++-----
 libio/feof_u.c  | 5 ++---
 2 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/include/stdio.h b/include/stdio.h
index b8f6f8f8b1..51a8d65f22 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -242,8 +242,7 @@ libc_hidden_proto (__fgets_unlocked)
 libc_hidden_proto (fputs_unlocked)
 extern __typeof (fputs_unlocked) __fputs_unlocked;
 libc_hidden_proto (__fputs_unlocked)
-libc_hidden_proto (feof_unlocked)
-extern __typeof (feof_unlocked) __feof_unlocked attribute_hidden;
+extern __typeof (feof_unlocked) __libc_feof_unlocked;
 libc_hidden_proto (ferror_unlocked)
 extern __typeof (ferror_unlocked) __ferror_unlocked attribute_hidden;
 libc_hidden_proto (getc_unlocked)
@@ -265,13 +264,13 @@ libc_hidden_proto (__fmemopen)
 extern int __gen_tempfd (int flags);
 libc_hidden_proto (__gen_tempfd)
 
-#  ifdef __USE_EXTERN_INLINES
-__extern_inline int
-__NTH (__feof_unlocked (FILE *__stream))
+static inline int
+__feof_unlocked (FILE *__stream)
 {
   return __feof_unlocked_body (__stream);
 }
 
+#  ifdef __USE_EXTERN_INLINES
 __extern_inline int
 __NTH (__ferror_unlocked (FILE *__stream))
 {
diff --git a/libio/feof_u.c b/libio/feof_u.c
index 5b7477ef54..3db56109c6 100644
--- a/libio/feof_u.c
+++ b/libio/feof_u.c
@@ -30,10 +30,9 @@
 #undef feof_unlocked
 
 int
-__feof_unlocked (FILE *fp)
+__libc_feof_unlocked (FILE *fp)
 {
   CHECK_FILE (fp, EOF);
   return _IO_feof_unlocked (fp);
 }
-weak_alias (__feof_unlocked, feof_unlocked)
-libc_hidden_weak (feof_unlocked)
+weak_alias (__libc_feof_unlocked, feof_unlocked)


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [glibc/azanella/clang] libio: Use __libc_feof_unlocked instead of __feof_unlocked
@ 2022-04-04 12:54 Adhemerval Zanella
  0 siblings, 0 replies; 12+ messages in thread
From: Adhemerval Zanella @ 2022-04-04 12:54 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=0d8f49ee6f8160a4f289ad21317902a5db780055

commit 0d8f49ee6f8160a4f289ad21317902a5db780055
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Mon Mar 14 15:04:55 2022 -0300

    libio: Use __libc_feof_unlocked instead of __feof_unlocked
    
    Internal __feof_unlocked is done using a inline function (regardless
    of __USE_EXTERN_INLINES).  The internal alias is removed since it is
    not used.

Diff:
---
 include/stdio.h | 9 ++++-----
 libio/feof_u.c  | 5 ++---
 2 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/include/stdio.h b/include/stdio.h
index 9c7d83b733..f1509888d7 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -241,8 +241,7 @@ libc_hidden_proto (__fgets_unlocked)
 libc_hidden_proto (fputs_unlocked)
 extern __typeof (fputs_unlocked) __fputs_unlocked;
 libc_hidden_proto (__fputs_unlocked)
-libc_hidden_proto (feof_unlocked)
-extern __typeof (feof_unlocked) __feof_unlocked attribute_hidden;
+extern __typeof (feof_unlocked) __libc_feof_unlocked;
 libc_hidden_proto (ferror_unlocked)
 extern __typeof (ferror_unlocked) __ferror_unlocked attribute_hidden;
 libc_hidden_proto (getc_unlocked)
@@ -264,13 +263,13 @@ libc_hidden_proto (__fmemopen)
 extern int __gen_tempfd (int flags);
 libc_hidden_proto (__gen_tempfd)
 
-#  ifdef __USE_EXTERN_INLINES
-__extern_inline int
-__NTH (__feof_unlocked (FILE *__stream))
+static inline int
+__feof_unlocked (FILE *__stream)
 {
   return __feof_unlocked_body (__stream);
 }
 
+#  ifdef __USE_EXTERN_INLINES
 __extern_inline int
 __NTH (__ferror_unlocked (FILE *__stream))
 {
diff --git a/libio/feof_u.c b/libio/feof_u.c
index 5b7477ef54..3db56109c6 100644
--- a/libio/feof_u.c
+++ b/libio/feof_u.c
@@ -30,10 +30,9 @@
 #undef feof_unlocked
 
 int
-__feof_unlocked (FILE *fp)
+__libc_feof_unlocked (FILE *fp)
 {
   CHECK_FILE (fp, EOF);
   return _IO_feof_unlocked (fp);
 }
-weak_alias (__feof_unlocked, feof_unlocked)
-libc_hidden_weak (feof_unlocked)
+weak_alias (__libc_feof_unlocked, feof_unlocked)


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [glibc/azanella/clang] libio: Use __libc_feof_unlocked instead of __feof_unlocked
@ 2022-03-31 19:06 Adhemerval Zanella
  0 siblings, 0 replies; 12+ messages in thread
From: Adhemerval Zanella @ 2022-03-31 19:06 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=6c1cf24dea90f15b28f198d4cec48dcccf453554

commit 6c1cf24dea90f15b28f198d4cec48dcccf453554
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Mon Mar 14 15:04:55 2022 -0300

    libio: Use __libc_feof_unlocked instead of __feof_unlocked
    
    Internal __feof_unlocked is done using a inline function (regardless
    of __USE_EXTERN_INLINES).  The internal alias is removed since it is
    not used.

Diff:
---
 include/stdio.h | 9 ++++-----
 libio/feof_u.c  | 5 ++---
 2 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/include/stdio.h b/include/stdio.h
index 9c7d83b733..f1509888d7 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -241,8 +241,7 @@ libc_hidden_proto (__fgets_unlocked)
 libc_hidden_proto (fputs_unlocked)
 extern __typeof (fputs_unlocked) __fputs_unlocked;
 libc_hidden_proto (__fputs_unlocked)
-libc_hidden_proto (feof_unlocked)
-extern __typeof (feof_unlocked) __feof_unlocked attribute_hidden;
+extern __typeof (feof_unlocked) __libc_feof_unlocked;
 libc_hidden_proto (ferror_unlocked)
 extern __typeof (ferror_unlocked) __ferror_unlocked attribute_hidden;
 libc_hidden_proto (getc_unlocked)
@@ -264,13 +263,13 @@ libc_hidden_proto (__fmemopen)
 extern int __gen_tempfd (int flags);
 libc_hidden_proto (__gen_tempfd)
 
-#  ifdef __USE_EXTERN_INLINES
-__extern_inline int
-__NTH (__feof_unlocked (FILE *__stream))
+static inline int
+__feof_unlocked (FILE *__stream)
 {
   return __feof_unlocked_body (__stream);
 }
 
+#  ifdef __USE_EXTERN_INLINES
 __extern_inline int
 __NTH (__ferror_unlocked (FILE *__stream))
 {
diff --git a/libio/feof_u.c b/libio/feof_u.c
index 5b7477ef54..3db56109c6 100644
--- a/libio/feof_u.c
+++ b/libio/feof_u.c
@@ -30,10 +30,9 @@
 #undef feof_unlocked
 
 int
-__feof_unlocked (FILE *fp)
+__libc_feof_unlocked (FILE *fp)
 {
   CHECK_FILE (fp, EOF);
   return _IO_feof_unlocked (fp);
 }
-weak_alias (__feof_unlocked, feof_unlocked)
-libc_hidden_weak (feof_unlocked)
+weak_alias (__libc_feof_unlocked, feof_unlocked)


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [glibc/azanella/clang] libio: Use __libc_feof_unlocked instead of __feof_unlocked
@ 2022-03-29 20:29 Adhemerval Zanella
  0 siblings, 0 replies; 12+ messages in thread
From: Adhemerval Zanella @ 2022-03-29 20:29 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=badc2e6d4a72024de1a599ac9e6d200d30937494

commit badc2e6d4a72024de1a599ac9e6d200d30937494
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Mon Mar 14 15:04:55 2022 -0300

    libio: Use __libc_feof_unlocked instead of __feof_unlocked
    
    Internal __feof_unlocked is done using a inline function (regardless
    of __USE_EXTERN_INLINES).  The internal alias is removed since it is
    not used.

Diff:
---
 include/stdio.h | 9 ++++-----
 libio/feof_u.c  | 5 ++---
 2 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/include/stdio.h b/include/stdio.h
index 9c7d83b733..f1509888d7 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -241,8 +241,7 @@ libc_hidden_proto (__fgets_unlocked)
 libc_hidden_proto (fputs_unlocked)
 extern __typeof (fputs_unlocked) __fputs_unlocked;
 libc_hidden_proto (__fputs_unlocked)
-libc_hidden_proto (feof_unlocked)
-extern __typeof (feof_unlocked) __feof_unlocked attribute_hidden;
+extern __typeof (feof_unlocked) __libc_feof_unlocked;
 libc_hidden_proto (ferror_unlocked)
 extern __typeof (ferror_unlocked) __ferror_unlocked attribute_hidden;
 libc_hidden_proto (getc_unlocked)
@@ -264,13 +263,13 @@ libc_hidden_proto (__fmemopen)
 extern int __gen_tempfd (int flags);
 libc_hidden_proto (__gen_tempfd)
 
-#  ifdef __USE_EXTERN_INLINES
-__extern_inline int
-__NTH (__feof_unlocked (FILE *__stream))
+static inline int
+__feof_unlocked (FILE *__stream)
 {
   return __feof_unlocked_body (__stream);
 }
 
+#  ifdef __USE_EXTERN_INLINES
 __extern_inline int
 __NTH (__ferror_unlocked (FILE *__stream))
 {
diff --git a/libio/feof_u.c b/libio/feof_u.c
index 5b7477ef54..3db56109c6 100644
--- a/libio/feof_u.c
+++ b/libio/feof_u.c
@@ -30,10 +30,9 @@
 #undef feof_unlocked
 
 int
-__feof_unlocked (FILE *fp)
+__libc_feof_unlocked (FILE *fp)
 {
   CHECK_FILE (fp, EOF);
   return _IO_feof_unlocked (fp);
 }
-weak_alias (__feof_unlocked, feof_unlocked)
-libc_hidden_weak (feof_unlocked)
+weak_alias (__libc_feof_unlocked, feof_unlocked)


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [glibc/azanella/clang] libio: Use __libc_feof_unlocked instead of __feof_unlocked
@ 2022-03-15 18:41 Adhemerval Zanella
  0 siblings, 0 replies; 12+ messages in thread
From: Adhemerval Zanella @ 2022-03-15 18:41 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b958086d189c9b177dc1ffa0e3c6a6a6c3eb932f

commit b958086d189c9b177dc1ffa0e3c6a6a6c3eb932f
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Mon Mar 14 15:04:55 2022 -0300

    libio: Use __libc_feof_unlocked instead of __feof_unlocked
    
    Internal __feof_unlocked is done using a inline function (regardless
    of __USE_EXTERN_INLINES).  The internal alias is removed since it is
    not used.

Diff:
---
 include/stdio.h | 9 ++++-----
 libio/feof_u.c  | 5 ++---
 2 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/include/stdio.h b/include/stdio.h
index 9c7d83b733..f1509888d7 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -241,8 +241,7 @@ libc_hidden_proto (__fgets_unlocked)
 libc_hidden_proto (fputs_unlocked)
 extern __typeof (fputs_unlocked) __fputs_unlocked;
 libc_hidden_proto (__fputs_unlocked)
-libc_hidden_proto (feof_unlocked)
-extern __typeof (feof_unlocked) __feof_unlocked attribute_hidden;
+extern __typeof (feof_unlocked) __libc_feof_unlocked;
 libc_hidden_proto (ferror_unlocked)
 extern __typeof (ferror_unlocked) __ferror_unlocked attribute_hidden;
 libc_hidden_proto (getc_unlocked)
@@ -264,13 +263,13 @@ libc_hidden_proto (__fmemopen)
 extern int __gen_tempfd (int flags);
 libc_hidden_proto (__gen_tempfd)
 
-#  ifdef __USE_EXTERN_INLINES
-__extern_inline int
-__NTH (__feof_unlocked (FILE *__stream))
+static inline int
+__feof_unlocked (FILE *__stream)
 {
   return __feof_unlocked_body (__stream);
 }
 
+#  ifdef __USE_EXTERN_INLINES
 __extern_inline int
 __NTH (__ferror_unlocked (FILE *__stream))
 {
diff --git a/libio/feof_u.c b/libio/feof_u.c
index 5b7477ef54..3db56109c6 100644
--- a/libio/feof_u.c
+++ b/libio/feof_u.c
@@ -30,10 +30,9 @@
 #undef feof_unlocked
 
 int
-__feof_unlocked (FILE *fp)
+__libc_feof_unlocked (FILE *fp)
 {
   CHECK_FILE (fp, EOF);
   return _IO_feof_unlocked (fp);
 }
-weak_alias (__feof_unlocked, feof_unlocked)
-libc_hidden_weak (feof_unlocked)
+weak_alias (__libc_feof_unlocked, feof_unlocked)


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2022-06-09 21:20 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-16 18:03 [glibc/azanella/clang] libio: Use __libc_feof_unlocked instead of __feof_unlocked Adhemerval Zanella
  -- strict thread matches above, loose matches on Subject: below --
2022-06-09 21:20 Adhemerval Zanella
2022-06-09 13:16 Adhemerval Zanella
2022-06-03 14:06 Adhemerval Zanella
2022-05-13 14:19 Adhemerval Zanella
2022-05-12 19:33 Adhemerval Zanella
2022-05-10 18:24 Adhemerval Zanella
2022-04-29 14:04 Adhemerval Zanella
2022-04-04 12:54 Adhemerval Zanella
2022-03-31 19:06 Adhemerval Zanella
2022-03-29 20:29 Adhemerval Zanella
2022-03-15 18:41 Adhemerval Zanella

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).