[PATCH] size reduction and clean up swaponoff.c

Rob Landley rob at landley.net
Sat Sep 17 19:11:45 UTC 2005


On Saturday 17 September 2005 12:46, Bernhard Fischer wrote:
> >We need to work out some kind of mechanism for this, but having an
> >individual .c file and individual .o file for each string is just...  Ick.
>
> We do *not* have individual .c files for them. In another thread i
> proposed to put them into messages.c but you objected ¹). I locally have
> them now in libbb/static_strings.c but any suggestion for a more
> appropriate name or place is welcome. It's really a minor detail, imho,
> but i want to resolve it sooner rather than later.

I have no objection to the name static_strings.c, I'm just trying to visualize 
the build process.  I don't think I quite understand what you're doing here.  
(These strings wind up in libbb.a, right?  I take it the individual .o files 
are some kind of hack so they can be individually linked in without sucking 
in the others...?)

This static_strings file is probably going to want to eat libbb/mtab_file.c, 
by the way.

Rob



More information about the busybox mailing list