From f62ab2d77455ca42e1300e72b70d06e8a16db53b Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Wed, 9 Jul 2008 09:50:33 +0000 Subject: libbb: use improved xmalloc_read() from modprobe-small who: fix compile breakage on some systems modprobe-small: improve Config help text wording --- include/libbb.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/libbb.h b/include/libbb.h index fc65d52..2dfdded 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -589,6 +589,7 @@ extern char *reads(int fd, char *buf, size_t count) FAST_FUNC; extern char *xmalloc_reads(int fd, char *pfx, size_t *maxsz_p) FAST_FUNC; extern ssize_t read_close(int fd, void *buf, size_t maxsz) FAST_FUNC; extern ssize_t open_read_close(const char *filename, void *buf, size_t maxsz) FAST_FUNC; +extern void *xmalloc_read(int fd, size_t *sizep) FAST_FUNC; /* Returns NULL if file can't be opened */ extern void *xmalloc_open_read_close(const char *filename, size_t *maxsz_p) FAST_FUNC; /* Never returns NULL */ -- cgit v1.1