aboutsummaryrefslogtreecommitdiff
path: root/include/libbb.h
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-11-05 00:38:51 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-11-05 00:38:51 +0000
commitfa07680091d20f9da1f8fa2c145dd92b5d62ae09 (patch)
tree12930c47ad7f06dc86fc82279a575a6338c4aa7b /include/libbb.h
parent9d4533ede123cf05eb66a00997ede9c64e579b4d (diff)
downloadbusybox-fa07680091d20f9da1f8fa2c145dd92b5d62ae09.tar.gz
top: improve CPU% calculation
style fixes
Diffstat (limited to 'include/libbb.h')
-rw-r--r--include/libbb.h4
1 files changed, 2 insertions, 2 deletions
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 {