diff options
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; |