diff options
author | Denis Vlasenko | 2006-11-01 20:20:37 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-11-01 20:20:37 +0000 |
commit | dd539f76877000e333796da8f30ea760c080a69a (patch) | |
tree | 26f8642cd9e8cc1c2ca0b75a6b20801863b4e2cf /include | |
parent | 92258541449581302e180d05e827e27d35030a18 (diff) | |
download | busybox-dd539f76877000e333796da8f30ea760c080a69a.zip busybox-dd539f76877000e333796da8f30ea760c080a69a.tar.gz |
Unneeded code removed, usused field "unsigned pscpu" removed
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/libbb.h b/include/libbb.h index 343a932..3ef1af1 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -501,13 +501,12 @@ void reset_ino_dev_hashtable(void); #endif #endif typedef struct { - pid_t pid, ppid; + int pid, ppid; char user[9]; char state[4]; unsigned long rss; #ifdef CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE unsigned pcpu; - unsigned pscpu; unsigned long stime, utime; #endif char *cmd; @@ -525,7 +524,7 @@ extern const char bb_uuenc_tbl_base64[]; extern const char bb_uuenc_tbl_std[]; void bb_uuencode(const unsigned char *s, char *store, const int length, const char *tbl); -typedef struct _sha1_ctx_t_ { +typedef struct sha1_ctx_t { uint32_t count[2]; uint32_t hash[5]; uint32_t wbuf[16]; @@ -534,7 +533,7 @@ void sha1_begin(sha1_ctx_t *ctx); void sha1_hash(const void *data, size_t length, sha1_ctx_t *ctx); void *sha1_end(void *resbuf, sha1_ctx_t *ctx); -typedef struct _md5_ctx_t_ { +typedef struct md5_ctx_t { uint32_t A; uint32_t B; uint32_t C; |