aboutsummaryrefslogtreecommitdiff
path: root/testsuite/pwd
diff options
context:
space:
mode:
authorAaron Lehmann <aaronl@vitelius.com>2002-08-13 04:19:23 +0000
committerAaron Lehmann <aaronl@vitelius.com>2002-08-13 04:19:23 +0000
commit6069441bd20b24f7102ebd66f9373a4de0d7e92c (patch)
treeab37f58bd58b5c6bd241169fdbcecca73b46d5e2 /testsuite/pwd
parent91a0aac1108282845a508775e2bec7f5a2f5efae (diff)
downloadbusybox-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 'testsuite/pwd')
0 files changed, 0 insertions, 0 deletions