diff options
Diffstat (limited to 'procps/nmeter.c')
-rw-r--r-- | procps/nmeter.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/procps/nmeter.c b/procps/nmeter.c index 205cb8251..8cff0b918 100644 --- a/procps/nmeter.c +++ b/procps/nmeter.c | |||
@@ -274,7 +274,7 @@ typedef struct a { \ | |||
274 | S_STAT(s_stat) | 274 | S_STAT(s_stat) |
275 | S_STAT_END(s_stat) | 275 | S_STAT_END(s_stat) |
276 | 276 | ||
277 | static void collect_literal(s_stat *s ATTRIBUTE_UNUSED) | 277 | static void collect_literal(s_stat *s UNUSED_PARAM) |
278 | { | 278 | { |
279 | } | 279 | } |
280 | 280 | ||
@@ -293,7 +293,7 @@ static s_stat* init_delay(const char *param) | |||
293 | return NULL; | 293 | return NULL; |
294 | } | 294 | } |
295 | 295 | ||
296 | static s_stat* init_cr(const char *param ATTRIBUTE_UNUSED) | 296 | static s_stat* init_cr(const char *param UNUSED_PARAM) |
297 | { | 297 | { |
298 | final_str = "\r"; | 298 | final_str = "\r"; |
299 | return (s_stat*)0; | 299 | return (s_stat*)0; |
@@ -435,7 +435,7 @@ static void collect_ctx(ctx_stat *s) | |||
435 | scale(data[0] - old); | 435 | scale(data[0] - old); |
436 | } | 436 | } |
437 | 437 | ||
438 | static s_stat* init_ctx(const char *param ATTRIBUTE_UNUSED) | 438 | static s_stat* init_ctx(const char *param UNUSED_PARAM) |
439 | { | 439 | { |
440 | ctx_stat *s = xzalloc(sizeof(*s)); | 440 | ctx_stat *s = xzalloc(sizeof(*s)); |
441 | s->collect = collect_ctx; | 441 | s->collect = collect_ctx; |
@@ -477,7 +477,7 @@ static void collect_blk(blk_stat *s) | |||
477 | scale(data[1]*512); | 477 | scale(data[1]*512); |
478 | } | 478 | } |
479 | 479 | ||
480 | static s_stat* init_blk(const char *param ATTRIBUTE_UNUSED) | 480 | static s_stat* init_blk(const char *param UNUSED_PARAM) |
481 | { | 481 | { |
482 | blk_stat *s = xzalloc(sizeof(*s)); | 482 | blk_stat *s = xzalloc(sizeof(*s)); |
483 | s->collect = collect_blk; | 483 | s->collect = collect_blk; |
@@ -490,7 +490,7 @@ S_STAT(fork_stat) | |||
490 | ullong old; | 490 | ullong old; |
491 | S_STAT_END(fork_stat) | 491 | S_STAT_END(fork_stat) |
492 | 492 | ||
493 | static void collect_thread_nr(fork_stat *s ATTRIBUTE_UNUSED) | 493 | static void collect_thread_nr(fork_stat *s UNUSED_PARAM) |
494 | { | 494 | { |
495 | ullong data[1]; | 495 | ullong data[1]; |
496 | 496 | ||
@@ -657,7 +657,7 @@ static s_stat* init_mem(const char *param) | |||
657 | S_STAT(swp_stat) | 657 | S_STAT(swp_stat) |
658 | S_STAT_END(swp_stat) | 658 | S_STAT_END(swp_stat) |
659 | 659 | ||
660 | static void collect_swp(swp_stat *s ATTRIBUTE_UNUSED) | 660 | static void collect_swp(swp_stat *s UNUSED_PARAM) |
661 | { | 661 | { |
662 | ullong s_total[1]; | 662 | ullong s_total[1]; |
663 | ullong s_free[1]; | 663 | ullong s_free[1]; |
@@ -670,7 +670,7 @@ static void collect_swp(swp_stat *s ATTRIBUTE_UNUSED) | |||
670 | scale((s_total[0]-s_free[0]) << 10); | 670 | scale((s_total[0]-s_free[0]) << 10); |
671 | } | 671 | } |
672 | 672 | ||
673 | static s_stat* init_swp(const char *param ATTRIBUTE_UNUSED) | 673 | static s_stat* init_swp(const char *param UNUSED_PARAM) |
674 | { | 674 | { |
675 | swp_stat *s = xzalloc(sizeof(*s)); | 675 | swp_stat *s = xzalloc(sizeof(*s)); |
676 | s->collect = collect_swp; | 676 | s->collect = collect_swp; |
@@ -681,7 +681,7 @@ static s_stat* init_swp(const char *param ATTRIBUTE_UNUSED) | |||
681 | S_STAT(fd_stat) | 681 | S_STAT(fd_stat) |
682 | S_STAT_END(fd_stat) | 682 | S_STAT_END(fd_stat) |
683 | 683 | ||
684 | static void collect_fd(fd_stat *s ATTRIBUTE_UNUSED) | 684 | static void collect_fd(fd_stat *s UNUSED_PARAM) |
685 | { | 685 | { |
686 | ullong data[2]; | 686 | ullong data[2]; |
687 | 687 | ||
@@ -693,7 +693,7 @@ static void collect_fd(fd_stat *s ATTRIBUTE_UNUSED) | |||
693 | scale(data[0] - data[1]); | 693 | scale(data[0] - data[1]); |
694 | } | 694 | } |
695 | 695 | ||
696 | static s_stat* init_fd(const char *param ATTRIBUTE_UNUSED) | 696 | static s_stat* init_fd(const char *param UNUSED_PARAM) |
697 | { | 697 | { |
698 | fd_stat *s = xzalloc(sizeof(*s)); | 698 | fd_stat *s = xzalloc(sizeof(*s)); |
699 | s->collect = collect_fd; | 699 | s->collect = collect_fd; |