[libc-commits] [PATCH] D144803: [libc] Fix mismatch in exception decl

Jeff Bailey via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed Mar 1 12:57:06 PST 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG81b39145bda7: [libc] Fix mismatch in exception decl (authored by jeffbailey).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D144803/new/

https://reviews.llvm.org/D144803

Files:
  libc/test/ErrnoSetterMatcher.h


Index: libc/test/ErrnoSetterMatcher.h
===================================================================
--- libc/test/ErrnoSetterMatcher.h
+++ libc/test/ErrnoSetterMatcher.h
@@ -12,14 +12,13 @@
 #include "test/UnitTest/Test.h"
 
 #include <errno.h>
+#include <string.h>
 
 namespace __llvm_libc {
 namespace testing {
 
 namespace internal {
 
-extern "C" char *strerror(int);
-
 template <typename T> class ErrnoSetterMatcher : public Matcher<T> {
   T ExpectedReturn;
   T ActualReturn;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144803.501644.patch
Type: text/x-patch
Size: 491 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230301/e82476a8/attachment.bin>


More information about the libc-commits mailing list