Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-11-01 23:20:37 +0300
committerDenis Vlasenko <vda.linux@googlemail.com>2006-11-01 23:20:37 +0300
commitdd539f76877000e333796da8f30ea760c080a69a (patch)
tree26f8642cd9e8cc1c2ca0b75a6b20801863b4e2cf /include
parent92258541449581302e180d05e827e27d35030a18 (diff)
Unneeded code removed, usused field "unsigned pscpu" removed
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 343a93290..3ef1af1ab 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;