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 | e16befb5f6d0d83a1287197dab32306df876f7e7 (patch) | |
tree | 3f16284dabdabe7ea4eb9e16dc26a414d2effce5 /llvm/lib/Support/Unix/Memory.inc | |
parent | 0633865e5b6a0911f70454915d3bab5f07c7efa6 (diff) | |
download | bcm5719-llvm-e16befb5f6d0d83a1287197dab32306df876f7e7.tar.gz bcm5719-llvm-e16befb5f6d0d83a1287197dab32306df876f7e7.zip |
Fix __clear_cache declaration.
This fixes the build with gcc in gnu++98 and gnu++11 mode.
llvm-svn: 181811
Diffstat (limited to 'llvm/lib/Support/Unix/Memory.inc')
-rw-r--r-- | llvm/lib/Support/Unix/Memory.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Unix/Memory.inc b/llvm/lib/Support/Unix/Memory.inc index d56c9e4b381..cdd475c17f7 100644 --- a/llvm/lib/Support/Unix/Memory.inc +++ b/llvm/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 { |