While searching for the implementaion of the `fgetwc()`, I found that its using declaration is redundant and removed it.

diff --git a/ChangeLog b/ChangeLog
index 9660c5260a7..3c2952abb69 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2024-12-08 Abdo Eid <abdoeid...@ieee.org>
+	* include/c_compatibility/wchar.h: removed a dublicate linke of code. 
+
 2024-12-02  Claudio Bantaloukas  <claudio.bantalou...@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;

Reply via email to