busybox.h vs libbb.h

Rob Landley rob at landley.net
Mon Apr 3 01:56:24 UTC 2006


On Sunday 02 April 2006 5:12 pm, Bernhard Fischer wrote:
> >> I'm not opposed to merging them, but we are not going to need the
> >> struct BB_applet and the applet prototypes when we will install
> >> a header for use with the library.
> >> So if these are invisible outside of -DBUILDING_BUSYBOX_C, then
> >> everything is fine.
> >
> >Sounds like an argument for keeping them separate to me...
>
> It would IMO be cleaner to have them separate but if folks have a strong
> need to merge them, I could bend it to behave..
>
> That said, we could shift the applet prototypes to an applets.h and mv
> the current applets.h to applet_list.h (or the like), but thats just
> moving stuff around for no real benefit, imho.

If we were going to put the applet prototypes in applets.h we might as well 
put them in the current one, I agree there's no obvious benefit.

> Mike, is there a specific reason why you would want to merge busybox.h
> and libbb.h apart from just sloppily including busybox.h anywhere
> instead of knowing what one needs where?

I don't personally see it as sloppy.  I like simple...

Rob
-- 
Never bet against the cheap plastic solution.



More information about the busybox mailing list