]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* g++.dg/warn/Wsystem-headers1.C: Use extern "C".
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 2 Jun 2015 17:50:18 +0000 (17:50 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 2 Jun 2015 17:50:18 +0000 (17:50 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@224038 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/g++.dg/warn/Wsystem-headers1.C

index ac5c30d3dbc6c20f7d2fa54a355fb3f34fbd20ed..c927b367243fbeba900551fe75731f9cc70ce24c 100644 (file)
@@ -1,3 +1,3 @@
 #include <stdlib.h>
 
-extern double atof (const char *);
+extern "C" double atof (const char *);