summaryrefslogtreecommitdiffhomepage
path: root/procps
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2019-10-25 13:05:15 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2019-10-25 13:05:15 +0200
commite5897d041d704a40efc8480cb2a72ef6843d0642 (patch)
treeab580bd571a7483dfa00984420a68c8c47ecf7f6 /procps
parent1f1492bb96e318a36dee940e6d4bec0ef915339f (diff)
suppress a few "unused function" warnings
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'procps')
-rw-r--r--procps/nmeter.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/procps/nmeter.c b/procps/nmeter.c
index f0eb36740..ae16d8548 100644
--- a/procps/nmeter.c
+++ b/procps/nmeter.c
@@ -122,11 +122,6 @@ static inline void reset_outbuf(void)
cur_outbuf = outbuf;
}
-static inline int outbuf_count(void)
-{
- return cur_outbuf - outbuf;
-}
-
static void print_outbuf(void)
{
int sz = cur_outbuf - outbuf;