>> > --- a/ftp/extern.h
   >> > +++ b/ftp/extern.h
   >> > @@ -119,7 +119,7 @@ void reset (int, char **);
   >> >  void restart (int, char **);
   >> >  void rmthelp (int, char **);
   >> >  void rmtstatus (int, char **);
   >> 
   >> Any reason K&R prototypes are used here?  Should we change this?
   >
   > Maybe I'm missing something, but how are those K&R prototypes?
   > K&R style lack function arguments, these only lack argument names
   > which is fine.

   Duh, sorry.  So these are valid C89 and/or C99 prototypes?  That
   would explain why I didn't find a gcc parameter to catch them...

Back in the day you'd skip the name of a variable in the prototype,
hence it being called K&Rism.  It is valid C though, be it C90 or C99;
much like it is still valid to write:

int foo (int, char)
  int a, char b;
{
...
}

Reply via email to