From 5f8c84c5be80aba4770bb70f2869763ed1734524 Mon Sep 17 00:00:00 2001 From: Galina Kistanova Date: Sat, 16 Dec 2017 02:54:17 +0000 Subject: Fixed warning 'function declaration isn’t a prototype [-Werror=strict-prototypes]' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit llvm-svn: 320912 --- llvm/tools/llvm-c-test/debuginfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/tools/llvm-c-test') 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 -int llvm_test_dibuilder() { +int llvm_test_dibuilder(void) { LLVMModuleRef M = LLVMModuleCreateWithName("debuginfo.c"); LLVMDIBuilderRef DIB = LLVMCreateDIBuilder(M); -- cgit v1.2.3