check if a function parameter list has `void` specifier

if a function has no parameters, it can be declared as:

int func();
int func(void);

In my coding standard checking tool, I want to determine whether a function has a void specifier. How to check this ? All I get is a FunctionDecl.