public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/azanella/clang] ctype: Remove internal lower/toupper alias
@ 2022-06-09 13:13 Adhemerval Zanella
  0 siblings, 0 replies; 12+ messages in thread
From: Adhemerval Zanella @ 2022-06-09 13:13 UTC (permalink / raw)
  To: glibc-cvs

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

commit ef2579ebe36c388b340ddfc10fd231a8f47b55c7
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Mon Mar 14 10:51:23 2022 -0300

    ctype: Remove internal lower/toupper alias

Diff:
---
 ctype/ctype.c   | 8 ++++----
 include/ctype.h | 3 ---
 2 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/ctype/ctype.c b/ctype/ctype.c
index 423c0a5186..81385e0e8e 100644
--- a/ctype/ctype.c
+++ b/ctype/ctype.c
@@ -41,15 +41,15 @@ func (isxdigit, _ISxdigit)
   ((int32_t *) _NL_CURRENT (LC_CTYPE, _NL_CTYPE_TOUPPER) + 128)
 
 int
-tolower (int c)
+__tolower (int c)
 {
   return c >= -128 && c < 256 ? __ctype_tolower[c] : c;
 }
-libc_hidden_def (tolower)
+weak_alias (__tolower, tolower)
 
 int
-toupper (int c)
+__toupper (int c)
 {
   return c >= -128 && c < 256 ? __ctype_toupper[c] : c;
 }
-libc_hidden_def (toupper)
+weak_alias (__toupper, toupper)
diff --git a/include/ctype.h b/include/ctype.h
index 493a6f80ce..ac6db790b7 100644
--- a/include/ctype.h
+++ b/include/ctype.h
@@ -11,9 +11,6 @@ libc_hidden_proto (__ctype_init)
    So defeat macro expansion with parens for this declaration.  */
 extern int (__isctype) (int __c, int __mask);
 
-libc_hidden_proto (tolower)
-libc_hidden_proto (toupper)
-
 # if IS_IN (libc)
 
 /* These accessors are used by the optimized macros to find the


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

* [glibc/azanella/clang] ctype: Remove internal lower/toupper alias
@ 2022-06-09 21:16 Adhemerval Zanella
  0 siblings, 0 replies; 12+ messages in thread
From: Adhemerval Zanella @ 2022-06-09 21:16 UTC (permalink / raw)
  To: glibc-cvs

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

commit ef2579ebe36c388b340ddfc10fd231a8f47b55c7
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Mon Mar 14 10:51:23 2022 -0300

    ctype: Remove internal lower/toupper alias

Diff:
---
 ctype/ctype.c   | 8 ++++----
 include/ctype.h | 3 ---
 2 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/ctype/ctype.c b/ctype/ctype.c
index 423c0a5186..81385e0e8e 100644
--- a/ctype/ctype.c
+++ b/ctype/ctype.c
@@ -41,15 +41,15 @@ func (isxdigit, _ISxdigit)
   ((int32_t *) _NL_CURRENT (LC_CTYPE, _NL_CTYPE_TOUPPER) + 128)
 
 int
-tolower (int c)
+__tolower (int c)
 {
   return c >= -128 && c < 256 ? __ctype_tolower[c] : c;
 }
-libc_hidden_def (tolower)
+weak_alias (__tolower, tolower)
 
 int
-toupper (int c)
+__toupper (int c)
 {
   return c >= -128 && c < 256 ? __ctype_toupper[c] : c;
 }
-libc_hidden_def (toupper)
+weak_alias (__toupper, toupper)
diff --git a/include/ctype.h b/include/ctype.h
index 493a6f80ce..ac6db790b7 100644
--- a/include/ctype.h
+++ b/include/ctype.h
@@ -11,9 +11,6 @@ libc_hidden_proto (__ctype_init)
    So defeat macro expansion with parens for this declaration.  */
 extern int (__isctype) (int __c, int __mask);
 
-libc_hidden_proto (tolower)
-libc_hidden_proto (toupper)
-
 # if IS_IN (libc)
 
 /* These accessors are used by the optimized macros to find the


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

* [glibc/azanella/clang] ctype: Remove internal lower/toupper alias
@ 2022-06-03 14:02 Adhemerval Zanella
  0 siblings, 0 replies; 12+ messages in thread
From: Adhemerval Zanella @ 2022-06-03 14:02 UTC (permalink / raw)
  To: glibc-cvs

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

commit 8c66fed53c0f9837d94ef9c5f2f2ea34ccc05a71
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Mon Mar 14 10:51:23 2022 -0300

    ctype: Remove internal lower/toupper alias

Diff:
---
 ctype/ctype.c   | 8 ++++----
 include/ctype.h | 3 ---
 2 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/ctype/ctype.c b/ctype/ctype.c
index 423c0a5186..81385e0e8e 100644
--- a/ctype/ctype.c
+++ b/ctype/ctype.c
@@ -41,15 +41,15 @@ func (isxdigit, _ISxdigit)
   ((int32_t *) _NL_CURRENT (LC_CTYPE, _NL_CTYPE_TOUPPER) + 128)
 
 int
-tolower (int c)
+__tolower (int c)
 {
   return c >= -128 && c < 256 ? __ctype_tolower[c] : c;
 }
-libc_hidden_def (tolower)
+weak_alias (__tolower, tolower)
 
 int
-toupper (int c)
+__toupper (int c)
 {
   return c >= -128 && c < 256 ? __ctype_toupper[c] : c;
 }
-libc_hidden_def (toupper)
+weak_alias (__toupper, toupper)
diff --git a/include/ctype.h b/include/ctype.h
index 493a6f80ce..ac6db790b7 100644
--- a/include/ctype.h
+++ b/include/ctype.h
@@ -11,9 +11,6 @@ libc_hidden_proto (__ctype_init)
    So defeat macro expansion with parens for this declaration.  */
 extern int (__isctype) (int __c, int __mask);
 
-libc_hidden_proto (tolower)
-libc_hidden_proto (toupper)
-
 # if IS_IN (libc)
 
 /* These accessors are used by the optimized macros to find the


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

* [glibc/azanella/clang] ctype: Remove internal lower/toupper alias
@ 2022-05-13 14:16 Adhemerval Zanella
  0 siblings, 0 replies; 12+ messages in thread
From: Adhemerval Zanella @ 2022-05-13 14:16 UTC (permalink / raw)
  To: glibc-cvs

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

commit f8db03b7fb08cc211aa1675134c79bbe7eab9046
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Mon Mar 14 10:51:23 2022 -0300

    ctype: Remove internal lower/toupper alias

Diff:
---
 ctype/ctype.c   | 8 ++++----
 include/ctype.h | 3 ---
 2 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/ctype/ctype.c b/ctype/ctype.c
index 423c0a5186..81385e0e8e 100644
--- a/ctype/ctype.c
+++ b/ctype/ctype.c
@@ -41,15 +41,15 @@ func (isxdigit, _ISxdigit)
   ((int32_t *) _NL_CURRENT (LC_CTYPE, _NL_CTYPE_TOUPPER) + 128)
 
 int
-tolower (int c)
+__tolower (int c)
 {
   return c >= -128 && c < 256 ? __ctype_tolower[c] : c;
 }
-libc_hidden_def (tolower)
+weak_alias (__tolower, tolower)
 
 int
-toupper (int c)
+__toupper (int c)
 {
   return c >= -128 && c < 256 ? __ctype_toupper[c] : c;
 }
-libc_hidden_def (toupper)
+weak_alias (__toupper, toupper)
diff --git a/include/ctype.h b/include/ctype.h
index 493a6f80ce..ac6db790b7 100644
--- a/include/ctype.h
+++ b/include/ctype.h
@@ -11,9 +11,6 @@ libc_hidden_proto (__ctype_init)
    So defeat macro expansion with parens for this declaration.  */
 extern int (__isctype) (int __c, int __mask);
 
-libc_hidden_proto (tolower)
-libc_hidden_proto (toupper)
-
 # if IS_IN (libc)
 
 /* These accessors are used by the optimized macros to find the


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

* [glibc/azanella/clang] ctype: Remove internal lower/toupper alias
@ 2022-05-12 19:29 Adhemerval Zanella
  0 siblings, 0 replies; 12+ messages in thread
From: Adhemerval Zanella @ 2022-05-12 19:29 UTC (permalink / raw)
  To: glibc-cvs

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

commit 9cc980a597d8a147fc7b3de1c7c56f6d439bad88
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Mon Mar 14 10:51:23 2022 -0300

    ctype: Remove internal lower/toupper alias

Diff:
---
 ctype/ctype.c   | 8 ++++----
 include/ctype.h | 3 ---
 2 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/ctype/ctype.c b/ctype/ctype.c
index 423c0a5186..81385e0e8e 100644
--- a/ctype/ctype.c
+++ b/ctype/ctype.c
@@ -41,15 +41,15 @@ func (isxdigit, _ISxdigit)
   ((int32_t *) _NL_CURRENT (LC_CTYPE, _NL_CTYPE_TOUPPER) + 128)
 
 int
-tolower (int c)
+__tolower (int c)
 {
   return c >= -128 && c < 256 ? __ctype_tolower[c] : c;
 }
-libc_hidden_def (tolower)
+weak_alias (__tolower, tolower)
 
 int
-toupper (int c)
+__toupper (int c)
 {
   return c >= -128 && c < 256 ? __ctype_toupper[c] : c;
 }
-libc_hidden_def (toupper)
+weak_alias (__toupper, toupper)
diff --git a/include/ctype.h b/include/ctype.h
index 493a6f80ce..ac6db790b7 100644
--- a/include/ctype.h
+++ b/include/ctype.h
@@ -11,9 +11,6 @@ libc_hidden_proto (__ctype_init)
    So defeat macro expansion with parens for this declaration.  */
 extern int (__isctype) (int __c, int __mask);
 
-libc_hidden_proto (tolower)
-libc_hidden_proto (toupper)
-
 # if IS_IN (libc)
 
 /* These accessors are used by the optimized macros to find the


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

* [glibc/azanella/clang] ctype: Remove internal lower/toupper alias
@ 2022-05-10 18:20 Adhemerval Zanella
  0 siblings, 0 replies; 12+ messages in thread
From: Adhemerval Zanella @ 2022-05-10 18:20 UTC (permalink / raw)
  To: glibc-cvs

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

commit 11677fe2cb38310b8fdf3fd7a333a98f7b4d67bc
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Mon Mar 14 10:51:23 2022 -0300

    ctype: Remove internal lower/toupper alias

Diff:
---
 ctype/ctype.c   | 8 ++++----
 include/ctype.h | 3 ---
 2 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/ctype/ctype.c b/ctype/ctype.c
index 423c0a5186..81385e0e8e 100644
--- a/ctype/ctype.c
+++ b/ctype/ctype.c
@@ -41,15 +41,15 @@ func (isxdigit, _ISxdigit)
   ((int32_t *) _NL_CURRENT (LC_CTYPE, _NL_CTYPE_TOUPPER) + 128)
 
 int
-tolower (int c)
+__tolower (int c)
 {
   return c >= -128 && c < 256 ? __ctype_tolower[c] : c;
 }
-libc_hidden_def (tolower)
+weak_alias (__tolower, tolower)
 
 int
-toupper (int c)
+__toupper (int c)
 {
   return c >= -128 && c < 256 ? __ctype_toupper[c] : c;
 }
-libc_hidden_def (toupper)
+weak_alias (__toupper, toupper)
diff --git a/include/ctype.h b/include/ctype.h
index 493a6f80ce..ac6db790b7 100644
--- a/include/ctype.h
+++ b/include/ctype.h
@@ -11,9 +11,6 @@ libc_hidden_proto (__ctype_init)
    So defeat macro expansion with parens for this declaration.  */
 extern int (__isctype) (int __c, int __mask);
 
-libc_hidden_proto (tolower)
-libc_hidden_proto (toupper)
-
 # if IS_IN (libc)
 
 /* These accessors are used by the optimized macros to find the


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

* [glibc/azanella/clang] ctype: Remove internal lower/toupper alias
@ 2022-04-29 14:00 Adhemerval Zanella
  0 siblings, 0 replies; 12+ messages in thread
From: Adhemerval Zanella @ 2022-04-29 14:00 UTC (permalink / raw)
  To: glibc-cvs

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

commit 87899da4d4fe1a59c29d673d70a0f6df3ecf2f7e
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Mon Mar 14 10:51:23 2022 -0300

    ctype: Remove internal lower/toupper alias

Diff:
---
 ctype/ctype.c   | 8 ++++----
 include/ctype.h | 3 ---
 2 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/ctype/ctype.c b/ctype/ctype.c
index 423c0a5186..81385e0e8e 100644
--- a/ctype/ctype.c
+++ b/ctype/ctype.c
@@ -41,15 +41,15 @@ func (isxdigit, _ISxdigit)
   ((int32_t *) _NL_CURRENT (LC_CTYPE, _NL_CTYPE_TOUPPER) + 128)
 
 int
-tolower (int c)
+__tolower (int c)
 {
   return c >= -128 && c < 256 ? __ctype_tolower[c] : c;
 }
-libc_hidden_def (tolower)
+weak_alias (__tolower, tolower)
 
 int
-toupper (int c)
+__toupper (int c)
 {
   return c >= -128 && c < 256 ? __ctype_toupper[c] : c;
 }
-libc_hidden_def (toupper)
+weak_alias (__toupper, toupper)
diff --git a/include/ctype.h b/include/ctype.h
index 493a6f80ce..ac6db790b7 100644
--- a/include/ctype.h
+++ b/include/ctype.h
@@ -11,9 +11,6 @@ libc_hidden_proto (__ctype_init)
    So defeat macro expansion with parens for this declaration.  */
 extern int (__isctype) (int __c, int __mask);
 
-libc_hidden_proto (tolower)
-libc_hidden_proto (toupper)
-
 # if IS_IN (libc)
 
 /* These accessors are used by the optimized macros to find the


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

* [glibc/azanella/clang] ctype: Remove internal lower/toupper alias
@ 2022-04-04 12:50 Adhemerval Zanella
  0 siblings, 0 replies; 12+ messages in thread
From: Adhemerval Zanella @ 2022-04-04 12:50 UTC (permalink / raw)
  To: glibc-cvs

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

commit 7410f3140d7033abe7aa26482f593e6e28c83b94
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Mon Mar 14 10:51:23 2022 -0300

    ctype: Remove internal lower/toupper alias

Diff:
---
 ctype/ctype.c   | 8 ++++----
 include/ctype.h | 3 ---
 2 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/ctype/ctype.c b/ctype/ctype.c
index 423c0a5186..81385e0e8e 100644
--- a/ctype/ctype.c
+++ b/ctype/ctype.c
@@ -41,15 +41,15 @@ func (isxdigit, _ISxdigit)
   ((int32_t *) _NL_CURRENT (LC_CTYPE, _NL_CTYPE_TOUPPER) + 128)
 
 int
-tolower (int c)
+__tolower (int c)
 {
   return c >= -128 && c < 256 ? __ctype_tolower[c] : c;
 }
-libc_hidden_def (tolower)
+weak_alias (__tolower, tolower)
 
 int
-toupper (int c)
+__toupper (int c)
 {
   return c >= -128 && c < 256 ? __ctype_toupper[c] : c;
 }
-libc_hidden_def (toupper)
+weak_alias (__toupper, toupper)
diff --git a/include/ctype.h b/include/ctype.h
index 493a6f80ce..ac6db790b7 100644
--- a/include/ctype.h
+++ b/include/ctype.h
@@ -11,9 +11,6 @@ libc_hidden_proto (__ctype_init)
    So defeat macro expansion with parens for this declaration.  */
 extern int (__isctype) (int __c, int __mask);
 
-libc_hidden_proto (tolower)
-libc_hidden_proto (toupper)
-
 # if IS_IN (libc)
 
 /* These accessors are used by the optimized macros to find the


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

* [glibc/azanella/clang] ctype: Remove internal lower/toupper alias
@ 2022-03-31 19:02 Adhemerval Zanella
  0 siblings, 0 replies; 12+ messages in thread
From: Adhemerval Zanella @ 2022-03-31 19:02 UTC (permalink / raw)
  To: glibc-cvs

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

commit 59848228df3ed6a231cc6b3dc37f8f1410f367f6
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Mon Mar 14 10:51:23 2022 -0300

    ctype: Remove internal lower/toupper alias

Diff:
---
 ctype/ctype.c   | 8 ++++----
 include/ctype.h | 3 ---
 2 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/ctype/ctype.c b/ctype/ctype.c
index 423c0a5186..81385e0e8e 100644
--- a/ctype/ctype.c
+++ b/ctype/ctype.c
@@ -41,15 +41,15 @@ func (isxdigit, _ISxdigit)
   ((int32_t *) _NL_CURRENT (LC_CTYPE, _NL_CTYPE_TOUPPER) + 128)
 
 int
-tolower (int c)
+__tolower (int c)
 {
   return c >= -128 && c < 256 ? __ctype_tolower[c] : c;
 }
-libc_hidden_def (tolower)
+weak_alias (__tolower, tolower)
 
 int
-toupper (int c)
+__toupper (int c)
 {
   return c >= -128 && c < 256 ? __ctype_toupper[c] : c;
 }
-libc_hidden_def (toupper)
+weak_alias (__toupper, toupper)
diff --git a/include/ctype.h b/include/ctype.h
index 493a6f80ce..ac6db790b7 100644
--- a/include/ctype.h
+++ b/include/ctype.h
@@ -11,9 +11,6 @@ libc_hidden_proto (__ctype_init)
    So defeat macro expansion with parens for this declaration.  */
 extern int (__isctype) (int __c, int __mask);
 
-libc_hidden_proto (tolower)
-libc_hidden_proto (toupper)
-
 # if IS_IN (libc)
 
 /* These accessors are used by the optimized macros to find the


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

* [glibc/azanella/clang] ctype: Remove internal lower/toupper alias
@ 2022-03-29 20:26 Adhemerval Zanella
  0 siblings, 0 replies; 12+ messages in thread
From: Adhemerval Zanella @ 2022-03-29 20:26 UTC (permalink / raw)
  To: glibc-cvs

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

commit 96f9c2a577cb97c0115148794f799393daa98a07
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Mon Mar 14 10:51:23 2022 -0300

    ctype: Remove internal lower/toupper alias

Diff:
---
 ctype/ctype.c   | 8 ++++----
 include/ctype.h | 3 ---
 2 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/ctype/ctype.c b/ctype/ctype.c
index 423c0a5186..81385e0e8e 100644
--- a/ctype/ctype.c
+++ b/ctype/ctype.c
@@ -41,15 +41,15 @@ func (isxdigit, _ISxdigit)
   ((int32_t *) _NL_CURRENT (LC_CTYPE, _NL_CTYPE_TOUPPER) + 128)
 
 int
-tolower (int c)
+__tolower (int c)
 {
   return c >= -128 && c < 256 ? __ctype_tolower[c] : c;
 }
-libc_hidden_def (tolower)
+weak_alias (__tolower, tolower)
 
 int
-toupper (int c)
+__toupper (int c)
 {
   return c >= -128 && c < 256 ? __ctype_toupper[c] : c;
 }
-libc_hidden_def (toupper)
+weak_alias (__toupper, toupper)
diff --git a/include/ctype.h b/include/ctype.h
index 493a6f80ce..ac6db790b7 100644
--- a/include/ctype.h
+++ b/include/ctype.h
@@ -11,9 +11,6 @@ libc_hidden_proto (__ctype_init)
    So defeat macro expansion with parens for this declaration.  */
 extern int (__isctype) (int __c, int __mask);
 
-libc_hidden_proto (tolower)
-libc_hidden_proto (toupper)
-
 # if IS_IN (libc)
 
 /* These accessors are used by the optimized macros to find the


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

* [glibc/azanella/clang] ctype: Remove internal lower/toupper alias
@ 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=cc2be8e1e93bb5dbb84242474d8f7b51e2bef48c

commit cc2be8e1e93bb5dbb84242474d8f7b51e2bef48c
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Mon Mar 14 10:51:23 2022 -0300

    ctype: Remove internal lower/toupper alias

Diff:
---
 ctype/ctype.c   | 8 ++++----
 include/ctype.h | 3 ---
 2 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/ctype/ctype.c b/ctype/ctype.c
index 423c0a5186..81385e0e8e 100644
--- a/ctype/ctype.c
+++ b/ctype/ctype.c
@@ -41,15 +41,15 @@ func (isxdigit, _ISxdigit)
   ((int32_t *) _NL_CURRENT (LC_CTYPE, _NL_CTYPE_TOUPPER) + 128)
 
 int
-tolower (int c)
+__tolower (int c)
 {
   return c >= -128 && c < 256 ? __ctype_tolower[c] : c;
 }
-libc_hidden_def (tolower)
+weak_alias (__tolower, tolower)
 
 int
-toupper (int c)
+__toupper (int c)
 {
   return c >= -128 && c < 256 ? __ctype_toupper[c] : c;
 }
-libc_hidden_def (toupper)
+weak_alias (__toupper, toupper)
diff --git a/include/ctype.h b/include/ctype.h
index 493a6f80ce..ac6db790b7 100644
--- a/include/ctype.h
+++ b/include/ctype.h
@@ -11,9 +11,6 @@ libc_hidden_proto (__ctype_init)
    So defeat macro expansion with parens for this declaration.  */
 extern int (__isctype) (int __c, int __mask);
 
-libc_hidden_proto (tolower)
-libc_hidden_proto (toupper)
-
 # if IS_IN (libc)
 
 /* These accessors are used by the optimized macros to find the


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

* [glibc/azanella/clang] ctype: Remove internal lower/toupper alias
@ 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=350b0ee73aa148a364f0a70d839395503705e05a

commit 350b0ee73aa148a364f0a70d839395503705e05a
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Mon Mar 14 10:51:23 2022 -0300

    ctype: Remove internal lower/toupper alias

Diff:
---
 ctype/ctype.c   | 8 ++++----
 include/ctype.h | 3 ---
 2 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/ctype/ctype.c b/ctype/ctype.c
index 423c0a5186..81385e0e8e 100644
--- a/ctype/ctype.c
+++ b/ctype/ctype.c
@@ -41,15 +41,15 @@ func (isxdigit, _ISxdigit)
   ((int32_t *) _NL_CURRENT (LC_CTYPE, _NL_CTYPE_TOUPPER) + 128)
 
 int
-tolower (int c)
+__tolower (int c)
 {
   return c >= -128 && c < 256 ? __ctype_tolower[c] : c;
 }
-libc_hidden_def (tolower)
+weak_alias (__tolower, tolower)
 
 int
-toupper (int c)
+__toupper (int c)
 {
   return c >= -128 && c < 256 ? __ctype_toupper[c] : c;
 }
-libc_hidden_def (toupper)
+weak_alias (__toupper, toupper)
diff --git a/include/ctype.h b/include/ctype.h
index 493a6f80ce..ac6db790b7 100644
--- a/include/ctype.h
+++ b/include/ctype.h
@@ -11,9 +11,6 @@ libc_hidden_proto (__ctype_init)
    So defeat macro expansion with parens for this declaration.  */
 extern int (__isctype) (int __c, int __mask);
 
-libc_hidden_proto (tolower)
-libc_hidden_proto (toupper)
-
 # if IS_IN (libc)
 
 /* These accessors are used by the optimized macros to find the


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

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

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-09 13:13 [glibc/azanella/clang] ctype: Remove internal lower/toupper alias Adhemerval Zanella
  -- strict thread matches above, loose matches on Subject: below --
2022-06-09 21:16 Adhemerval Zanella
2022-06-03 14:02 Adhemerval Zanella
2022-05-13 14:16 Adhemerval Zanella
2022-05-12 19:29 Adhemerval Zanella
2022-05-10 18:20 Adhemerval Zanella
2022-04-29 14:00 Adhemerval Zanella
2022-04-04 12:50 Adhemerval Zanella
2022-03-31 19:02 Adhemerval Zanella
2022-03-29 20:26 Adhemerval Zanella
2022-03-16 18:03 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).