diff options
author | Kevin Cernekee | 2010-10-25 02:00:24 +0200 |
---|---|---|
committer | Denys Vlasenko | 2010-10-25 02:00:24 +0200 |
commit | ccb070450e79c33fb3f755dbea2fdd979f09d3fb (patch) | |
tree | ed842febd5fa0b19bbb7e42d2d98d59f6e3c5c8d /include/libbb.h | |
parent | 3b060528a26830ee26aab4e9829ac3a310f06218 (diff) | |
download | busybox-ccb070450e79c33fb3f755dbea2fdd979f09d3fb.zip busybox-ccb070450e79c33fb3f755dbea2fdd979f09d3fb.tar.gz |
fdisk: initial stab at GPT partition support
Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include/libbb.h')
-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 bd1d586..d14728e 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -746,7 +746,7 @@ char *itoa(int n) FAST_FUNC; char *utoa_to_buf(unsigned n, char *buf, unsigned buflen) FAST_FUNC; char *itoa_to_buf(int n, char *buf, unsigned buflen) FAST_FUNC; /* Intelligent formatters of bignums */ -void smart_ulltoa4(unsigned long long ul, char buf[5], const char *scale) FAST_FUNC; +void smart_ulltoa4(unsigned long long ul, char buf[4], const char *scale) FAST_FUNC; void smart_ulltoa5(unsigned long long ul, char buf[5], const char *scale) FAST_FUNC; /* If block_size == 0, display size without fractional part, * else display (size * block_size) with one decimal digit. @@ -1543,7 +1543,10 @@ void sha512_begin(sha512_ctx_t *ctx) FAST_FUNC; void sha512_hash(sha512_ctx_t *ctx, const void *buffer, size_t len) FAST_FUNC; void sha512_end(sha512_ctx_t *ctx, void *resbuf) FAST_FUNC; - +/* TODO: add global crc32_table pointer and create + * LE and BE functions to calculate crc32 over given bytes. + * Currently we have about five reimplementations... + */ uint32_t *crc32_filltable(uint32_t *tbl256, int endian) FAST_FUNC; typedef struct masks_labels_t { |