News for hackers. Stuff that matters.
Re:Tell HN: C Experts Panel – Ask us anything about C by kazinator on Tuesday April 14, 2020 @05:32PM (#22871727)
CAN I HAZ UNNAMED UNUSED PARAM

   void callback(int x, void *) // VOID STAR UNUZED, SO ANON
   {
      foo(x);
   }
Re:Tell HN: C Experts Panel – Ask us anything about C by DougGwyn on Tuesday April 14, 2020 @05:58PM (#22872019)
Why is there a second argument which is not used?
Re:Tell HN: C Experts Panel – Ask us anything about C by tropo on Tuesday April 14, 2020 @08:18PM (#22873038)
It could be for function pointer type compatibility.

There is an array of pointers, or there is a callback interface, or something like that. The type is set in stone.

Re:Tell HN: C Experts Panel – Ask us anything about C by wnoise on Tuesday April 14, 2020 @06:52PM (#22872441)
To match an API where it is sometimes used.