Empty parameter list in C function, do you write func(void) or func()?
While reviewing code for the KIARA project I came across a change set which read like this: – void super_duper_func () { + void super_duper_func (void) { I was puzzled, what’s the difference anyway except from making it explicitly clear that there are no parameter expected? Well, I was wrong. The ISO 9899 standard (read: […]