diff options
author | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-04-16 22:32:04 +0000 |
---|---|---|
committer | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-04-16 22:32:04 +0000 |
commit | 318604b951e5f74ff9889274d82f908ac5818fac (patch) | |
tree | f1354d1d4e3ca29b1fd77698d45791e61fd7a8b1 /miscutils | |
parent | 00f949b5504f0d5c5dc3bb02da393481980631eb (diff) | |
download | busybox-w32-318604b951e5f74ff9889274d82f908ac5818fac.tar.gz busybox-w32-318604b951e5f74ff9889274d82f908ac5818fac.tar.bz2 busybox-w32-318604b951e5f74ff9889274d82f908ac5818fac.zip |
style fixes, no code changes
git-svn-id: svn://busybox.net/trunk/busybox@18461 69ca8d6d-28ef-0310-b511-8ec308f3f277
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 | ||