The alist_expand_by() function is a global function. Add a declaration for the function in the header.
Signed-off-by: Sughosh Ganu <sughosh.g...@linaro.org> --- Changes since V1: New patch include/alist.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/alist.h b/include/alist.h index bab146c35d..d7cc27c14c 100644 --- a/include/alist.h +++ b/include/alist.h @@ -224,4 +224,13 @@ void *alist_uninit_move_ptr(struct alist *alist, size_t *countp); */ void alist_uninit(struct alist *alist); +/** + * alist_expand_by() - Expand a list by the given amount + * + * @lst: alist to expand + * @inc_by: Amount to expand by + * Return: true if OK, false if out of memory + */ +bool alist_expand_by(struct alist *lst, uint inc_by); + #endif /* __ALIST_H */ -- 2.34.1