diff options
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 343a93290..3ef1af1ab 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -501,13 +501,12 @@ void reset_ino_dev_hashtable(void); | |||
501 | #endif | 501 | #endif |
502 | #endif | 502 | #endif |
503 | typedef struct { | 503 | typedef struct { |
504 | pid_t pid, ppid; | 504 | int pid, ppid; |
505 | char user[9]; | 505 | char user[9]; |
506 | char state[4]; | 506 | char state[4]; |
507 | unsigned long rss; | 507 | unsigned long rss; |
508 | #ifdef CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE | 508 | #ifdef CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE |
509 | unsigned pcpu; | 509 | unsigned pcpu; |
510 | unsigned pscpu; | ||
511 | unsigned long stime, utime; | 510 | unsigned long stime, utime; |
512 | #endif | 511 | #endif |
513 | char *cmd; | 512 | char *cmd; |
@@ -525,7 +524,7 @@ extern const char bb_uuenc_tbl_base64[]; | |||
525 | extern const char bb_uuenc_tbl_std[]; | 524 | extern const char bb_uuenc_tbl_std[]; |
526 | void bb_uuencode(const unsigned char *s, char *store, const int length, const char *tbl); | 525 | void bb_uuencode(const unsigned char *s, char *store, const int length, const char *tbl); |
527 | 526 | ||
528 | typedef struct _sha1_ctx_t_ { | 527 | typedef struct sha1_ctx_t { |
529 | uint32_t count[2]; | 528 | uint32_t count[2]; |
530 | uint32_t hash[5]; | 529 | uint32_t hash[5]; |
531 | uint32_t wbuf[16]; | 530 | uint32_t wbuf[16]; |
@@ -534,7 +533,7 @@ void sha1_begin(sha1_ctx_t *ctx); | |||
534 | void sha1_hash(const void *data, size_t length, sha1_ctx_t *ctx); | 533 | void sha1_hash(const void *data, size_t length, sha1_ctx_t *ctx); |
535 | void *sha1_end(void *resbuf, sha1_ctx_t *ctx); | 534 | void *sha1_end(void *resbuf, sha1_ctx_t *ctx); |
536 | 535 | ||
537 | typedef struct _md5_ctx_t_ { | 536 | typedef struct md5_ctx_t { |
538 | uint32_t A; | 537 | uint32_t A; |
539 | uint32_t B; | 538 | uint32_t B; |
540 | uint32_t C; | 539 | uint32_t C; |