diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-04-16 22:32:04 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-04-16 22:32:04 +0000 |
commit | ac678ec2f127fc02a93fff2c164e0b13a94a6abf (patch) | |
tree | f1354d1d4e3ca29b1fd77698d45791e61fd7a8b1 /miscutils | |
parent | 17e3c34aa7abe42aa604234235338e2b8087b8a0 (diff) | |
download | busybox-w32-ac678ec2f127fc02a93fff2c164e0b13a94a6abf.tar.gz busybox-w32-ac678ec2f127fc02a93fff2c164e0b13a94a6abf.tar.bz2 busybox-w32-ac678ec2f127fc02a93fff2c164e0b13a94a6abf.zip |
style fixes, no code changes
Diffstat (limited to 'miscutils')
-rw-r--r-- | miscutils/chrt.c | 3 | ||||
-rw-r--r-- | miscutils/hdparm.c | 3 | ||||
-rw-r--r-- | miscutils/rx.c | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/miscutils/chrt.c b/miscutils/chrt.c index 75d77d536..f52c3cd1b 100644 --- a/miscutils/chrt.c +++ b/miscutils/chrt.c | |||
@@ -22,7 +22,8 @@ static const struct { | |||
22 | {SCHED_RR, "SCHED_RR"} | 22 | {SCHED_RR, "SCHED_RR"} |
23 | }; | 23 | }; |
24 | 24 | ||
25 | static void show_min_max(int pol) { | 25 | static void show_min_max(int pol) |
26 | { | ||
26 | const char *fmt = "%s min/max priority\t: %d/%d\n\0%s not supported?\n"; | 27 | const char *fmt = "%s min/max priority\t: %d/%d\n\0%s not supported?\n"; |
27 | int max, min; | 28 | int max, min; |
28 | max = sched_get_priority_max(pol); | 29 | max = sched_get_priority_max(pol); |
diff --git a/miscutils/hdparm.c b/miscutils/hdparm.c index cc33a010a..c540ff93c 100644 --- a/miscutils/hdparm.c +++ b/miscutils/hdparm.c | |||
@@ -517,7 +517,8 @@ static uint8_t mode_loop(uint16_t mode_sup, uint16_t mode_sel, int cc, uint8_t * | |||
517 | return err_dma; | 517 | return err_dma; |
518 | } | 518 | } |
519 | 519 | ||
520 | static void print_ascii(uint16_t *p, uint8_t length) { | 520 | static void print_ascii(uint16_t *p, uint8_t length) |
521 | { | ||
521 | uint8_t ii; | 522 | uint8_t ii; |
522 | char cl; | 523 | char cl; |
523 | 524 | ||
diff --git a/miscutils/rx.c b/miscutils/rx.c index 29848b1d9..6e79f3438 100644 --- a/miscutils/rx.c +++ b/miscutils/rx.c | |||
@@ -43,7 +43,8 @@ Cf: | |||
43 | #define TIMEOUT_LONG 10 | 43 | #define TIMEOUT_LONG 10 |
44 | #define MAXERRORS 10 | 44 | #define MAXERRORS 10 |
45 | 45 | ||
46 | static int read_byte(int fd, unsigned int timeout) { | 46 | static int read_byte(int fd, unsigned int timeout) |
47 | { | ||
47 | char buf[1]; | 48 | char buf[1]; |
48 | int n; | 49 | int n; |
49 | 50 | ||