summaryrefslogtreecommitdiff
path: root/include/libbb.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libbb.h')
-rw-r--r--include/libbb.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 6fff441c5..2be13891c 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -403,9 +403,10 @@ extern char *xasprintf(const char *format, ...) __attribute__ ((format (printf,
403 403
404/* dmalloc will redefine these to it's own implementation. It is safe 404/* dmalloc will redefine these to it's own implementation. It is safe
405 * to have the prototypes here unconditionally. */ 405 * to have the prototypes here unconditionally. */
406extern void *malloc_or_warn(size_t size);
406extern void *xmalloc(size_t size); 407extern void *xmalloc(size_t size);
407extern void *xrealloc(void *old, size_t size);
408extern void *xzalloc(size_t size); 408extern void *xzalloc(size_t size);
409extern void *xrealloc(void *old, size_t size);
409 410
410extern ssize_t safe_read(int fd, void *buf, size_t count); 411extern ssize_t safe_read(int fd, void *buf, size_t count);
411extern ssize_t full_read(int fd, void *buf, size_t count); 412extern ssize_t full_read(int fd, void *buf, size_t count);
@@ -862,7 +863,7 @@ void md5_begin(md5_ctx_t *ctx);
862void md5_hash(const void *data, size_t length, md5_ctx_t *ctx); 863void md5_hash(const void *data, size_t length, md5_ctx_t *ctx);
863void *md5_end(void *resbuf, md5_ctx_t *ctx); 864void *md5_end(void *resbuf, md5_ctx_t *ctx);
864 865
865uint32_t *crc32_filltable(int endian); 866uint32_t *crc32_filltable(uint32_t *tbl256, int endian);
866 867
867 868
868enum { /* DO NOT CHANGE THESE VALUES! cp.c, mv.c, install.c depend on them. */ 869enum { /* DO NOT CHANGE THESE VALUES! cp.c, mv.c, install.c depend on them. */