libbb: use improved xmalloc_read() from modprobe-small
who: fix compile breakage on some systems modprobe-small: improve Config help text wording
This commit is contained in:
@ -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 */
|
||||
|
Reference in New Issue
Block a user