Fixed warning 'function declaration isn’t a prototype [-Werror=strict-prototypes]'

llvm-svn: 320912
This commit is contained in:
Galina Kistanova 2017-12-16 02:54:17 +00:00
parent 7b5dc23d75
commit ad26ba05d4

View 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);