ROCm / roctracer

ROCm Tracer Callback/Activity Library for Performance tracing AMD GPUs
https://rocm.docs.amd.com/projects/roctracer/en/latest/
Other
65 stars 30 forks source link

Avoid empty-argument lists in C function declarations #46

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.