Fixed warning 'function declaration isn’t a prototype [-Werror=strict-prototypes]'
authorGalina Kistanova <gkistanova@gmail.com>
Sat, 16 Dec 2017 02:54:17 +0000 (02:54 +0000)
committerGalina Kistanova <gkistanova@gmail.com>
Sat, 16 Dec 2017 02:54:17 +0000 (02:54 +0000)
llvm-svn: 320912

llvm/tools/llvm-c-test/debuginfo.c

index 3f72894..c88c741 100644 (file)
@@ -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);