diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-05-14 18:06:14 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-05-14 18:06:14 +0000 |
commit | d1bf52275daa86e838ebbffc71efd43fc8c416f4 (patch) | |
tree | 37f03816074c4b85fe605a4dd6da80ca745b8594 /lib | |
parent | 304d73c9eead4e19350272de6b8c2f7316db2554 (diff) | |
download | external_llvm-d1bf52275daa86e838ebbffc71efd43fc8c416f4.zip external_llvm-d1bf52275daa86e838ebbffc71efd43fc8c416f4.tar.gz external_llvm-d1bf52275daa86e838ebbffc71efd43fc8c416f4.tar.bz2 |
Fix __clear_cache declaration.
This fixes the build with gcc in gnu++98 and gnu++11 mode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181811 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Support/Unix/Memory.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/Unix/Memory.inc b/lib/Support/Unix/Memory.inc index d56c9e4..cdd475c 100644 --- a/lib/Support/Unix/Memory.inc +++ b/lib/Support/Unix/Memory.inc @@ -33,7 +33,7 @@ #endif extern "C" void sys_icache_invalidate(const void *Addr, size_t len); -extern "C" void __clear_cache(char *, char*); +extern "C" void __clear_cache(void *, void*); namespace { |