hush/util-linux
Aaron Lehmann 6069441bd2 minor fixes for fbset bloat
<mjn3>         printf("\tgeometry %u %u %u %u %u\n", v->xres, v->yres,
<mjn3>                    v->xres_virtual, v->yres_virtual, v->bits_per_pixel);
<mjn3>         printf("\ttimings %u %u %u %u %u %u %u\n", v->pixclock, v->left_margin,
<mjn3>                    v->right_margin, v->upper_margin, v->lower_margin, v->hsync_l
<mjn3> en,
<mjn3>                    v->vsync_len);
<mjn3>         printf("\taccel %s\n", (v->accel_flags > 0 ? "true" : "false"));
<mjn3>         printf("\trgba %u/%u,%u/%u,%u/%u,%u/%u\n", v->red.length,
<mjn3>                    v->red.offset, v->green.length, v->green.offset, v->blue.leng
<mjn3> th,
<mjn3>                    v->blue.offset, v->transp.length, v->transp.offset);
<mjn3>         printf("endmode\n\n");
<mjn3> whay have multiple printf calls when one would do?

<mjn3> and this:
<mjn3> static struct cmdoptions_t {
<mjn3>         char *name;
<mjn3>         unsigned char param_count;
<mjn3>         unsigned char code;
<mjn3> } g_cmdoptions[] = {
<mjn3>         {
<mjn3>         "-fb", 1, CMD_FB}, {
<mjn3> (repeated entries)
<mjn3> why isn't this constant?  what about struct packing?

inline the helper functions that are only referenced once.
2002-08-13 04:19:23 +00:00
..
config.in Initial checkin of a very primitive hwclock replacement 2002-07-21 16:50:49 +00:00
dmesg.c A number of cleanups. Now compiles with libc5, glibc, and uClibc. Fix a few 2001-04-05 03:14:39 +00:00
fbset.c minor fixes for fbset bloat 2002-08-13 04:19:23 +00:00
fdflush.c Update some missing copyright notices 2002-04-13 08:31:59 +00:00
freeramdisk.c Use xfopen, saves 32 bytes ! 2001-10-05 05:03:14 +00:00
fsck_minix.c Major rework of the directory structure and the entire build system. 2001-10-24 05:00:29 +00:00
getopt.c Applied vodz' patches #49 and #50 (with a small correction in runshell.c) 2002-07-19 00:05:54 +00:00
hexdump.c Remove advertising clauses in accordance with 2002-06-23 22:25:24 +00:00
hwclock.c - updated a few copyright/left file headers 2002-08-05 02:57:12 +00:00
losetup.c * include/applets.h (CONFIG_LOSETUP): New. 2002-03-20 17:38:37 +00:00
Makefile Completely rework the config system so that it no longer annoys me to work on 2002-04-12 12:05:57 +00:00
Makefile.in Initial checkin of a very primitive hwclock replacement 2002-07-21 16:50:49 +00:00
mkfs_minix.c Fixup some silly prototype warnings 2001-10-31 10:41:31 +00:00
mkswap.c Apply lash_patch35 from vodz, which brings several nice size_optimizations. 2002-04-06 05:17:57 +00:00
more.c Update some missing copyright notices 2002-04-13 08:31:59 +00:00
mount.c Fix for bug #1255 -- support for mount -t <type> 2002-07-25 14:17:19 +00:00
nfsmount.c Rename dirname variable to pathname to eliminate namespace conflict. 2001-07-26 14:26:53 +00:00
nfsmount.h Silence a silly warning 2001-03-09 22:17:59 +00:00
pivot_root.c A number of cleanups. Now compiles with libc5, glibc, and uClibc. Fix a few 2001-04-05 03:14:39 +00:00
rdate.c A patch from Bart Visscher <magick@linux-fan.com> to add an 2002-07-03 11:51:44 +00:00
swaponoff.c Major rework of the directory structure and the entire build system. 2001-10-24 05:00:29 +00:00
umount.c Remove == TRUE' tests and convert != TRUE' and `== FALSE' tests to use !. 2001-12-20 23:13:26 +00:00