1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00

Change () to (void) in the C API.

llvm-svn: 272506
This commit is contained in:
Amaury Sechet 2016-06-12 07:56:21 +00:00
parent eb63d26915
commit e75a78828b
2 changed files with 2 additions and 2 deletions

View File

@ -502,7 +502,7 @@ unsigned LLVMGetMDKindID(const char *Name, unsigned SLen);
* going through the C API deprecation cycle.
*/
unsigned LLVMGetEnumAttributeKindForName(const char *Name, size_t SLen);
unsigned LLVMGetLastEnumAttributeKind();
unsigned LLVMGetLastEnumAttributeKind(void);
/**
* Create an enum attribute.

View File

@ -128,7 +128,7 @@ unsigned LLVMGetEnumAttributeKindForName(const char *Name, size_t SLen) {
return getAttrKindFromName(StringRef(Name, SLen));
}
unsigned LLVMGetLastEnumAttributeKind() {
unsigned LLVMGetLastEnumAttributeKind(void) {
return Attribute::AttrKind::EndAttrKinds;
}