diff options
author | Denis Vlasenko | 2007-04-16 22:32:04 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-04-16 22:32:04 +0000 |
commit | ac678ec2f127fc02a93fff2c164e0b13a94a6abf (patch) | |
tree | f1354d1d4e3ca29b1fd77698d45791e61fd7a8b1 /miscutils | |
parent | 17e3c34aa7abe42aa604234235338e2b8087b8a0 (diff) | |
download | busybox-ac678ec2f127fc02a93fff2c164e0b13a94a6abf.zip busybox-ac678ec2f127fc02a93fff2c164e0b13a94a6abf.tar.gz |
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 75d77d5..f52c3cd 100644 --- a/miscutils/chrt.c +++ b/miscutils/chrt.c @@ -22,7 +22,8 @@ static const struct { {SCHED_RR, "SCHED_RR"} }; -static void show_min_max(int pol) { +static void show_min_max(int pol) +{ const char *fmt = "%s min/max priority\t: %d/%d\n\0%s not supported?\n"; int max, min; max = sched_get_priority_max(pol); diff --git a/miscutils/hdparm.c b/miscutils/hdparm.c index cc33a01..c540ff9 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 * return err_dma; } -static void print_ascii(uint16_t *p, uint8_t length) { +static void print_ascii(uint16_t *p, uint8_t length) +{ uint8_t ii; char cl; diff --git a/miscutils/rx.c b/miscutils/rx.c index 29848b1..6e79f34 100644 --- a/miscutils/rx.c +++ b/miscutils/rx.c @@ -43,7 +43,8 @@ Cf: #define TIMEOUT_LONG 10 #define MAXERRORS 10 -static int read_byte(int fd, unsigned int timeout) { +static int read_byte(int fd, unsigned int timeout) +{ char buf[1]; int n; |