public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/azanella/clang] x86: Remove __strstr_generic prototype
@ 2023-02-09 19:46 Adhemerval Zanella
0 siblings, 0 replies; 5+ messages in thread
From: Adhemerval Zanella @ 2023-02-09 19:46 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=26227366234e1b0b9656bc07aa4c43b1d3456042
commit 26227366234e1b0b9656bc07aa4c43b1d3456042
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Mon Mar 14 18:27:33 2022 -0300
x86: Remove __strstr_generic prototype
This is not really require and clang throws a attribute declaration must
precede definition:
../sysdeps/x86_64/multiarch/strstr.c:37:54: error: attribute declaration
must precede definition [-Werror,-Wignored-attributes]
extern __typeof (__redirect_strstr) __strstr_generic attribute_hidden;
^
./../include/libc-symbols.h:423:43: note: expanded from macro
'attribute_hidden'
# define attribute_hidden __attribute__ ((visibility ("hidden")))
^
../string/strstr.c:76:1: note: previous definition is here
STRSTR (const char *haystack, const char *needle)
^
../sysdeps/x86_64/multiarch/strstr.c:27:16: note: expanded from macro
'STRSTR'
#define STRSTR __strstr_generic
^
1 error generated.
Diff:
---
sysdeps/x86_64/multiarch/strstr.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sysdeps/x86_64/multiarch/strstr.c b/sysdeps/x86_64/multiarch/strstr.c
index 750218ac3d..7c7a320f88 100644
--- a/sysdeps/x86_64/multiarch/strstr.c
+++ b/sysdeps/x86_64/multiarch/strstr.c
@@ -34,7 +34,6 @@
#include "string/strstr.c"
extern __typeof (__redirect_strstr) __strstr_sse2_unaligned attribute_hidden;
-extern __typeof (__redirect_strstr) __strstr_generic attribute_hidden;
extern __typeof (__redirect_strstr) __strstr_avx512 attribute_hidden;
#include "init-arch.h"
^ permalink raw reply [flat|nested] 5+ messages in thread
* [glibc/azanella/clang] x86: Remove __strstr_generic prototype
@ 2023-09-28 17:52 Adhemerval Zanella
0 siblings, 0 replies; 5+ messages in thread
From: Adhemerval Zanella @ 2023-09-28 17:52 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=29374110c351fdaa3e1703991a6c4ec0fa0b75a4
commit 29374110c351fdaa3e1703991a6c4ec0fa0b75a4
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Mon Mar 14 18:27:33 2022 -0300
x86: Remove __strstr_generic prototype
This is not really require and clang throws a attribute declaration must
precede definition:
../sysdeps/x86_64/multiarch/strstr.c:37:54: error: attribute declaration
must precede definition [-Werror,-Wignored-attributes]
extern __typeof (__redirect_strstr) __strstr_generic attribute_hidden;
^
./../include/libc-symbols.h:423:43: note: expanded from macro
'attribute_hidden'
# define attribute_hidden __attribute__ ((visibility ("hidden")))
^
../string/strstr.c:76:1: note: previous definition is here
STRSTR (const char *haystack, const char *needle)
^
../sysdeps/x86_64/multiarch/strstr.c:27:16: note: expanded from macro
'STRSTR'
#define STRSTR __strstr_generic
^
1 error generated.
Diff:
---
sysdeps/x86_64/multiarch/strstr.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sysdeps/x86_64/multiarch/strstr.c b/sysdeps/x86_64/multiarch/strstr.c
index 750218ac3d..7c7a320f88 100644
--- a/sysdeps/x86_64/multiarch/strstr.c
+++ b/sysdeps/x86_64/multiarch/strstr.c
@@ -34,7 +34,6 @@
#include "string/strstr.c"
extern __typeof (__redirect_strstr) __strstr_sse2_unaligned attribute_hidden;
-extern __typeof (__redirect_strstr) __strstr_generic attribute_hidden;
extern __typeof (__redirect_strstr) __strstr_avx512 attribute_hidden;
#include "init-arch.h"
^ permalink raw reply [flat|nested] 5+ messages in thread
* [glibc/azanella/clang] x86: Remove __strstr_generic prototype
@ 2023-08-30 12:34 Adhemerval Zanella
0 siblings, 0 replies; 5+ messages in thread
From: Adhemerval Zanella @ 2023-08-30 12:34 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=db2f4c393fab892293e816c55492d9249bbdd7e6
commit db2f4c393fab892293e816c55492d9249bbdd7e6
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Mon Mar 14 18:27:33 2022 -0300
x86: Remove __strstr_generic prototype
This is not really require and clang throws a attribute declaration must
precede definition:
../sysdeps/x86_64/multiarch/strstr.c:37:54: error: attribute declaration
must precede definition [-Werror,-Wignored-attributes]
extern __typeof (__redirect_strstr) __strstr_generic attribute_hidden;
^
./../include/libc-symbols.h:423:43: note: expanded from macro
'attribute_hidden'
# define attribute_hidden __attribute__ ((visibility ("hidden")))
^
../string/strstr.c:76:1: note: previous definition is here
STRSTR (const char *haystack, const char *needle)
^
../sysdeps/x86_64/multiarch/strstr.c:27:16: note: expanded from macro
'STRSTR'
#define STRSTR __strstr_generic
^
1 error generated.
Diff:
---
sysdeps/x86_64/multiarch/strstr.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sysdeps/x86_64/multiarch/strstr.c b/sysdeps/x86_64/multiarch/strstr.c
index 750218ac3d..7c7a320f88 100644
--- a/sysdeps/x86_64/multiarch/strstr.c
+++ b/sysdeps/x86_64/multiarch/strstr.c
@@ -34,7 +34,6 @@
#include "string/strstr.c"
extern __typeof (__redirect_strstr) __strstr_sse2_unaligned attribute_hidden;
-extern __typeof (__redirect_strstr) __strstr_generic attribute_hidden;
extern __typeof (__redirect_strstr) __strstr_avx512 attribute_hidden;
#include "init-arch.h"
^ permalink raw reply [flat|nested] 5+ messages in thread
* [glibc/azanella/clang] x86: Remove __strstr_generic prototype
@ 2022-10-28 17:39 Adhemerval Zanella
0 siblings, 0 replies; 5+ messages in thread
From: Adhemerval Zanella @ 2022-10-28 17:39 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=790040c07bf6180087979056216bae260257b494
commit 790040c07bf6180087979056216bae260257b494
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Mon Mar 14 18:27:33 2022 -0300
x86: Remove __strstr_generic prototype
This is not really require and clang throws a attribute declaration must
precede definition:
../sysdeps/x86_64/multiarch/strstr.c:37:54: error: attribute declaration
must precede definition [-Werror,-Wignored-attributes]
extern __typeof (__redirect_strstr) __strstr_generic attribute_hidden;
^
./../include/libc-symbols.h:423:43: note: expanded from macro
'attribute_hidden'
# define attribute_hidden __attribute__ ((visibility ("hidden")))
^
../string/strstr.c:76:1: note: previous definition is here
STRSTR (const char *haystack, const char *needle)
^
../sysdeps/x86_64/multiarch/strstr.c:27:16: note: expanded from macro
'STRSTR'
#define STRSTR __strstr_generic
^
1 error generated.
Diff:
---
sysdeps/x86_64/multiarch/strstr.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sysdeps/x86_64/multiarch/strstr.c b/sysdeps/x86_64/multiarch/strstr.c
index 2b83199245..78fad019b2 100644
--- a/sysdeps/x86_64/multiarch/strstr.c
+++ b/sysdeps/x86_64/multiarch/strstr.c
@@ -34,7 +34,6 @@
#include "string/strstr.c"
extern __typeof (__redirect_strstr) __strstr_sse2_unaligned attribute_hidden;
-extern __typeof (__redirect_strstr) __strstr_generic attribute_hidden;
extern __typeof (__redirect_strstr) __strstr_avx512 attribute_hidden;
#include "init-arch.h"
^ permalink raw reply [flat|nested] 5+ messages in thread
* [glibc/azanella/clang] x86: Remove __strstr_generic prototype
@ 2022-10-04 12:57 Adhemerval Zanella
0 siblings, 0 replies; 5+ messages in thread
From: Adhemerval Zanella @ 2022-10-04 12:57 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=82c0cadf4572f07c4db20c3818088fa45e15e564
commit 82c0cadf4572f07c4db20c3818088fa45e15e564
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Mon Mar 14 18:27:33 2022 -0300
x86: Remove __strstr_generic prototype
This is not really require and clang throws a attribute declaration must
precede definition:
../sysdeps/x86_64/multiarch/strstr.c:37:54: error: attribute declaration
must precede definition [-Werror,-Wignored-attributes]
extern __typeof (__redirect_strstr) __strstr_generic attribute_hidden;
^
./../include/libc-symbols.h:423:43: note: expanded from macro
'attribute_hidden'
# define attribute_hidden __attribute__ ((visibility ("hidden")))
^
../string/strstr.c:76:1: note: previous definition is here
STRSTR (const char *haystack, const char *needle)
^
../sysdeps/x86_64/multiarch/strstr.c:27:16: note: expanded from macro
'STRSTR'
#define STRSTR __strstr_generic
^
1 error generated.
Diff:
---
sysdeps/x86_64/multiarch/strstr.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sysdeps/x86_64/multiarch/strstr.c b/sysdeps/x86_64/multiarch/strstr.c
index 2b83199245..78fad019b2 100644
--- a/sysdeps/x86_64/multiarch/strstr.c
+++ b/sysdeps/x86_64/multiarch/strstr.c
@@ -34,7 +34,6 @@
#include "string/strstr.c"
extern __typeof (__redirect_strstr) __strstr_sse2_unaligned attribute_hidden;
-extern __typeof (__redirect_strstr) __strstr_generic attribute_hidden;
extern __typeof (__redirect_strstr) __strstr_avx512 attribute_hidden;
#include "init-arch.h"
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-09-28 17:52 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-09 19:46 [glibc/azanella/clang] x86: Remove __strstr_generic prototype Adhemerval Zanella
-- strict thread matches above, loose matches on Subject: below --
2023-09-28 17:52 Adhemerval Zanella
2023-08-30 12:34 Adhemerval Zanella
2022-10-28 17:39 Adhemerval Zanella
2022-10-04 12:57 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).