2.4.10-pre12 sysrq.c compile error

Stefan Jeglinski jeglin at 4pi.com
Fri Sep 21 00:52:13 EST 2001


>  > `wakeup_bdflush' was defines in two defrent files.
>>
>  > linuxppc_2_4_devel/drivers/char/sysrq.c (line: 35)
>>  extern void wakeup_bdflush(int);
>>
>>  linuxppc_2_4_devel/include/linux/fs.h (line: 1347)
>>  extern void wakeup_bdflush(void);
>>
>
>if it's same extern , it's no problem.
>Different paramenter is no good.

Right. I should have supplied more info about what I have tried.

I attempted to make everything consistent each way. IOW, I have made
the function definition and extern declarations all with a void
argument, and also all with an int argument. In one case, the
compiler error is "too many arguments in wakeup_bdflush" and in the
other case the compiler error is "too few arguments in
wakeup_bdflush".

I have noted numerous instances of wakeup_bdflush() and
wakeup_bdflush(0) but I'm not sure this is an issue.

There's an inconsistency here that first appeared straightforward to
me but now I'm not sure of the changes that are needed.

I rsynced this morning but still the same result.


Stefan Jeglinski

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list