Message ID | GCJ5OS.WZMZBKQMLBVC2@ieee.org |
---|---|
State | New |
Headers | show |
Series | Removed a duplicate line of code. | expand |
On Sat, Dec 7, 2024 at 5:55 PM Abdo Eid <abdoeid.eg@ieee.org> wrote: > > While searching for the implementaion of the `fgetwc()`, I found that its using declaration is redundant and removed it. Two things about this patch. ChangeLog goes in the commit message now rather than a patch to ChangeLog (the entry is automatically added by a bot afterwards). Second since this is a patch to libstdc++ you should CC libstdc++ also. Both of these are documented here https://gcc.gnu.org/contribute.html#patches if you going to submit another patch. Note this patch seems obvious and once I get some time I will push it as such (though someone else might beat me to it). Thanks, Andrew Pinski >
diff --git a/ChangeLog b/ChangeLog index 9660c5260a7..3c2952abb69 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2024-12-08 Abdo Eid <abdoeid.eg@ieee.org> + * include/c_compatibility/wchar.h: removed a dublicate linke of code. + 2024-12-02 Claudio Bantaloukas <claudio.bantaloukas@arm.com> * MAINTAINERS: Add myself to write after approval. diff --git a/libstdc++-v3/include/c_compatibility/wchar.h b/libstdc++-v3/include/c_compatibility/wchar.h index d7420dd1745..a743adf8c55 100644 --- a/libstdc++-v3/include/c_compatibility/wchar.h +++ b/libstdc++-v3/include/c_compatibility/wchar.h @@ -40,7 +40,6 @@ using std::wint_t; using std::btowc; using std::wctob; using std::fgetwc; -using std::fgetwc; using std::fgetws; using std::fputwc; using std::fputws;