about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorTamir Duberstein <tamird@gmail.com>2015-05-30 09:50:12 -0400
committerTamir Duberstein <tamird@gmail.com>2015-06-07 22:43:21 -0400
commit1be9e6f055fbcd6bfcf0a1f9e9ef0e86abe54f02 (patch)
treec4045c6b104a6465fdc501e37a63ef4b44a75447 /src/rustllvm/RustWrapper.cpp
parent8f9f2fe97e78bd7dbdfc477b765d5e6dc930b9eb (diff)
downloadrust-1be9e6f055fbcd6bfcf0a1f9e9ef0e86abe54f02.tar.gz
rust-1be9e6f055fbcd6bfcf0a1f9e9ef0e86abe54f02.zip
Remove useless `const`
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
-rw-r--r--src/rustllvm/RustWrapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rustllvm/RustWrapper.cpp b/src/rustllvm/RustWrapper.cpp
index 66db7326d21..b1e2d2f9fc8 100644
--- a/src/rustllvm/RustWrapper.cpp
+++ b/src/rustllvm/RustWrapper.cpp
@@ -233,7 +233,7 @@ DIT unwrapDI(LLVMMetadataRef ref) {
     return DIT(ref ? unwrap<MDNode>(ref) : NULL);
 }
 
-extern "C" const uint32_t LLVMRustDebugMetadataVersion() {
+extern "C" uint32_t LLVMRustDebugMetadataVersion() {
     return DEBUG_METADATA_VERSION;
 }