From ac678ec2f127fc02a93fff2c164e0b13a94a6abf Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 16 Apr 2007 22:32:04 +0000 Subject: style fixes, no code changes --- miscutils/chrt.c | 3 ++- miscutils/hdparm.c | 3 ++- miscutils/rx.c | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) (limited to 'miscutils') 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 { {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 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 * 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 29848b1d9..6e79f3438 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; -- cgit v1.2.3