Re:Building a C Compiler Type System – Part 1: The Formidabl...
by bluetomcat on Thursday July 07, 2016 @04:06PM
(#12051779)
As the article says, int-star is an "abstract declarator". An abstract declarator simply omits the name, otherwise it is the same. Therefore, the "canonic" way to write that declaration would be:
void (*fn)(int *);
I've always thought the pointer declaration syntax in C was just an oversight and I get around it's ambitiousness by always declaring variables on their own line.