aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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);
501#endif 501#endif
502#endif 502#endif
503typedef struct { 503typedef 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[];
525extern const char bb_uuenc_tbl_std[]; 524extern const char bb_uuenc_tbl_std[];
526void bb_uuencode(const unsigned char *s, char *store, const int length, const char *tbl); 525void bb_uuencode(const unsigned char *s, char *store, const int length, const char *tbl);
527 526
528typedef struct _sha1_ctx_t_ { 527typedef 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);
534void sha1_hash(const void *data, size_t length, sha1_ctx_t *ctx); 533void sha1_hash(const void *data, size_t length, sha1_ctx_t *ctx);
535void *sha1_end(void *resbuf, sha1_ctx_t *ctx); 534void *sha1_end(void *resbuf, sha1_ctx_t *ctx);
536 535
537typedef struct _md5_ctx_t_ { 536typedef 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;