svn commit: trunk/busybox/networking
Bernhard Fischer
rep.nop at aon.at
Thu May 11 07:34:41 UTC 2006
On Wed, May 10, 2006 at 07:36:53PM -0700, vapier at busybox.net wrote:
>Author: vapier
>Date: 2006-05-10 19:36:51 -0700 (Wed, 10 May 2006)
>New Revision: 15062
>
>Log:
>fix no previous prototype warning
>
>Modified:
> trunk/busybox/networking/route.c
>
>
>Changeset:
>Modified: trunk/busybox/networking/route.c
>===================================================================
>--- trunk/busybox/networking/route.c 2006-05-11 02:35:55 UTC (rev 15061)
>+++ trunk/busybox/networking/route.c 2006-05-11 02:36:51 UTC (rev 15062)
>@@ -494,6 +494,7 @@
> }
>
> /* also used in netstat */
>+void displayroutes(int noresolve, int netstatfmt);
> void displayroutes(int noresolve, int netstatfmt)
> {
> char devname[64], flags[16], sdest[16], sgw[16];
This is also papering over a bug. Make it static and remove the
prototype or move it into a commonly useable place, it you need it to be
public.
More information about the busybox
mailing list