Plan9 C doesn't like void functions with no parameters, how do you satisfy the params not checked error?

Follow

@neauoire A function taking no parameters needs to be explicitly declared as such by giving it the void type parameter.

void fn(void);

@kvik I had no idea until today. I'll be more careful. I have a ton of something(), I don't remember tcc ever complaining, so I never knew.

Sign in to participate in the conversation
Mastodon @ SDF

"I appreciate SDF but it's a general-purpose server and the name doesn't make it obvious that it's about art." - Eugen Rochko