diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/libbb.h b/include/libbb.h index bd1d586c7..d14728ed0 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -746,7 +746,7 @@ char *itoa(int n) FAST_FUNC; | |||
746 | char *utoa_to_buf(unsigned n, char *buf, unsigned buflen) FAST_FUNC; | 746 | char *utoa_to_buf(unsigned n, char *buf, unsigned buflen) FAST_FUNC; |
747 | char *itoa_to_buf(int n, char *buf, unsigned buflen) FAST_FUNC; | 747 | char *itoa_to_buf(int n, char *buf, unsigned buflen) FAST_FUNC; |
748 | /* Intelligent formatters of bignums */ | 748 | /* Intelligent formatters of bignums */ |
749 | void smart_ulltoa4(unsigned long long ul, char buf[5], const char *scale) FAST_FUNC; | 749 | void smart_ulltoa4(unsigned long long ul, char buf[4], const char *scale) FAST_FUNC; |
750 | void smart_ulltoa5(unsigned long long ul, char buf[5], const char *scale) FAST_FUNC; | 750 | void smart_ulltoa5(unsigned long long ul, char buf[5], const char *scale) FAST_FUNC; |
751 | /* If block_size == 0, display size without fractional part, | 751 | /* If block_size == 0, display size without fractional part, |
752 | * else display (size * block_size) with one decimal digit. | 752 | * else display (size * block_size) with one decimal digit. |
@@ -1543,7 +1543,10 @@ void sha512_begin(sha512_ctx_t *ctx) FAST_FUNC; | |||
1543 | void sha512_hash(sha512_ctx_t *ctx, const void *buffer, size_t len) FAST_FUNC; | 1543 | void sha512_hash(sha512_ctx_t *ctx, const void *buffer, size_t len) FAST_FUNC; |
1544 | void sha512_end(sha512_ctx_t *ctx, void *resbuf) FAST_FUNC; | 1544 | void sha512_end(sha512_ctx_t *ctx, void *resbuf) FAST_FUNC; |
1545 | 1545 | ||
1546 | 1546 | /* TODO: add global crc32_table pointer and create | |
1547 | * LE and BE functions to calculate crc32 over given bytes. | ||
1548 | * Currently we have about five reimplementations... | ||
1549 | */ | ||
1547 | uint32_t *crc32_filltable(uint32_t *tbl256, int endian) FAST_FUNC; | 1550 | uint32_t *crc32_filltable(uint32_t *tbl256, int endian) FAST_FUNC; |
1548 | 1551 | ||
1549 | typedef struct masks_labels_t { | 1552 | typedef struct masks_labels_t { |