From fa07680091d20f9da1f8fa2c145dd92b5d62ae09 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sun, 5 Nov 2006 00:38:51 +0000 Subject: top: improve CPU% calculation style fixes --- include/libbb.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/libbb.h') diff --git a/include/libbb.h b/include/libbb.h index 3ef1af1ab..7b5221d87 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -494,10 +494,10 @@ void reset_ino_dev_hashtable(void); #ifndef COMM_LEN #ifdef TASK_COMM_LEN -#define COMM_LEN TASK_COMM_LEN +enum { COMM_LEN = TASK_COMM_LEN }; #else /* synchronize with sizeof(task_struct.comm) in /usr/include/linux/sched.h */ -#define COMM_LEN 16 +enum { COMM_LEN = 16 }; #endif #endif typedef struct { -- cgit v1.2.3