HSAFoundation / HSA-Runtime-AMD

The HSA-Runtime
Other
48 stars 16 forks source link

Avoid empty-argument lists in C function declarations #21

Open bertwesarg opened 3 years ago

bertwesarg commented 3 years ago

() as a function argument list in C is equivalent to (...), i.e, in C you get at most a warning, if it is called with too many arguments. Clarify this situation by explicitly stating (void) as argument list.