diff options
author | Aaron Lehmann <aaronl@vitelius.com> | 2002-08-13 04:19:23 +0000 |
---|---|---|
committer | Aaron Lehmann <aaronl@vitelius.com> | 2002-08-13 04:19:23 +0000 |
commit | 6069441bd20b24f7102ebd66f9373a4de0d7e92c (patch) | |
tree | ab37f58bd58b5c6bd241169fdbcecca73b46d5e2 /procps/uptime.c | |
parent | 91a0aac1108282845a508775e2bec7f5a2f5efae (diff) | |
download | busybox-6069441bd20b24f7102ebd66f9373a4de0d7e92c.tar.gz |
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.
Diffstat (limited to 'procps/uptime.c')
0 files changed, 0 insertions, 0 deletions