[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-inetutils] Re: K&R prototypes in ftp/extern.h
From: |
Simon Josefsson |
Subject: |
[bug-inetutils] Re: K&R prototypes in ftp/extern.h |
Date: |
Tue, 23 Nov 2010 22:36:25 +0100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) |
Guillem Jover <address@hidden> writes:
> Hi!
>
> On Fri, 2010-11-19 at 12:43:22 +0100, Simon Josefsson wrote:
>> Mike Frysinger <address@hidden> writes:
>> > --- 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...
/Simon
- Re: [bug-inetutils] Re: [PATCH 3/4] use daemon from the C library when possible, (continued)