Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.

Commit cd27af2

Browse files
committed
Fixed warning 'function declaration isn’t a prototype [-Werror=strict-prototypes]'
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@320912 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 4f44d46 commit cd27af2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/llvm-c-test/debuginfo.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#include "llvm-c/DebugInfo.h"
1515
#include <stdio.h>
1616

17-
int llvm_test_dibuilder() {
17+
int llvm_test_dibuilder(void) {
1818
LLVMModuleRef M = LLVMModuleCreateWithName("debuginfo.c");
1919
LLVMDIBuilderRef DIB = LLVMCreateDIBuilder(M);
2020

0 commit comments

Comments
 (0)