Hi Xenia,

> On 22 Jun 2022, at 16:15, Xenia Ragiadakou <burzalod...@gmail.com> wrote:
> 
> Include header <xen/list_sort.h> so that the declaration of the function
> list_sort(), which has external linkage, is visible before the function
> definition.
> 
> Signed-off-by: Xenia Ragiadakou <burzalod...@gmail.com>

Reviewed-by: Bertrand Marquis <bertrand.marq...@arm.com>

Cheers
Bertrand

> ---
> xen/lib/list-sort.c | 1 +
> 1 file changed, 1 insertion(+)
> 
> diff --git a/xen/lib/list-sort.c b/xen/lib/list-sort.c
> index f8d8bbf281..de1af2ef8b 100644
> --- a/xen/lib/list-sort.c
> +++ b/xen/lib/list-sort.c
> @@ -16,6 +16,7 @@
>  */
> 
> #include <xen/list.h>
> +#include <xen/list_sort.h>
> 
> #define MAX_LIST_LENGTH_BITS 20
> 
> -- 
> 2.34.1
> 
> 


Reply via email to