[BusyBox] [PATCH] fix warnings

Steven Scholz steven.scholz at imc-berlin.de
Thu Oct 9 09:20:47 UTC 2003

Hi there,

the attached patch fixes some warnings.
(Well, at least for me. I am using a ppc_8xx cross compiler.)

Uhm. About "-static void socket_timeout(void)":

I did get the warning

passing arg 2 of `signal' from incompatible pointer type

so I changed it (naivly) to "+static void socket_timeout(int sig)".

Will the compiler optimize away the "int sig" since it is not used?



-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fix_warnings.patch
Url: http://lists.busybox.net/pipermail/busybox/attachments/20031009/3169b156/attachment.diff 

More information about the busybox mailing list