diff options
author | Galina Kistanova <gkistanova@gmail.com> | 2017-12-16 02:54:17 +0000 |
---|---|---|
committer | Galina Kistanova <gkistanova@gmail.com> | 2017-12-16 02:54:17 +0000 |
commit | 5f8c84c5be80aba4770bb70f2869763ed1734524 (patch) | |
tree | 4fad6ea16917a3bcb041f7339c1e4252abb4b5f4 /llvm/tools/llvm-c-test | |
parent | e86a8b79b52ae7350818f6afa58cd21a9ef9c3cc (diff) | |
download | bcm5719-llvm-5f8c84c5be80aba4770bb70f2869763ed1734524.tar.gz bcm5719-llvm-5f8c84c5be80aba4770bb70f2869763ed1734524.zip |
Fixed warning 'function declaration isn’t a prototype [-Werror=strict-prototypes]'
llvm-svn: 320912
Diffstat (limited to 'llvm/tools/llvm-c-test')
-rw-r--r-- | llvm/tools/llvm-c-test/debuginfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-c-test/debuginfo.c b/llvm/tools/llvm-c-test/debuginfo.c index 3f728948e02..c88c74167b6 100644 --- a/llvm/tools/llvm-c-test/debuginfo.c +++ b/llvm/tools/llvm-c-test/debuginfo.c @@ -14,7 +14,7 @@ #include "llvm-c/DebugInfo.h" #include <stdio.h> -int llvm_test_dibuilder() { +int llvm_test_dibuilder(void) { LLVMModuleRef M = LLVMModuleCreateWithName("debuginfo.c"); LLVMDIBuilderRef DIB = LLVMCreateDIBuilder(M); |