roctracer icon indicating copy to clipboard operation
roctracer copied to clipboard

Avoid empty-argument lists in C function declarations

Open bertwesarg opened this issue 4 years ago • 0 comments

() 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.

bertwesarg avatar Dec 12 '20 08:12 bertwesarg