Fixing prototypes in llvm-c/Core.h.

Hi,

The include file include/llvm-c/Core.h contains declarations
such as "LLVMTypeRef LLVMInt1Type();", which raises the
warning "function declaration isn't a prototype" when
using them in .c files.

Using "(void)" instead of "()" is the solution of course. Could
someone please:

sed -i~ 's/()/(void)/' Core.h

[Sorry to be picky, but so is my compiler!]

Thanks,
-Mahadevan.

The include file include/llvm-c/Core.h contains declarations
such as "LLVMTypeRef LLVMInt1Type();", which raises the
warning "function declaration isn't a prototype" when
using them in .c files.

Can you please send a patch. See
  http://llvm.org/docs/DeveloperPolicy.html#patches

Thanks,

Duncan.

Never mind; it's taken care of with r50620.

— Gordon