[BusyBox] devfsd applet

Matteo Croce pinnolo at tin.it
Thu Aug 28 16:03:03 UTC 2003


I do some more work on the devfsd applet:
I removed te yp_* functions removing a feature that allows to load a
.conf file by a NIS domain.
I declared static all the global variables, (except the structures, that
cause many warnings).
I removed the SYSLOG macro because it creates two identical string objects.
I implemented the bb_show_usage() function;
I replaced all the fprintf(stderr, ...) with bb_error_msg(...).
I removed some functions when busybox is compiled --static, because they
makes a runtime error (however I inserted a warning message about this).

Now the object size is 32k and compiles without any warning (with gcc
3.2.2).
Bye!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: devfsd.patch.bz2
Type: application/x-bzip2
Size: 17950 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20030828/2f3d5fe1/attachment.bin 


More information about the busybox mailing list