[BusyBox] Re: ifconfig: Clean up. [PATCH]

Rob Landley rob at landley.net
Wed Jul 27 00:49:11 MDT 2005


On Tuesday 26 July 2005 11:14, Shaun Jackman wrote:
> 2005-07-26  Shaun Jackman  <sjackman at gmail.com>
>
>  * Makefile: Build include/bb_config.h.
>  * include/busybox.h: Include include/bb_config.h.
>  * include/libbb.h: Ditto.
>  * networking/ifconfig.c: Include unistd.h.
>  (ifconfig_main): Clean up the file descriptor.

I applied a variant of this.  I cleaned up busybox.h and libbb.h to not do the 
#ifndef/#endif around the inclusion but instead have it inside bb_config.h 
(the way every other .h file does it).

P.S.  What does the addition of #include <unistd.h> do?

And now, to finish forward porting the mount rewrite which, among other 
things, gets loop.c compiling again...

Rob


More information about the busybox mailing list