From 7050aae69c2a55dfdbb5c6af7882307e90ba4275 Mon Sep 17 00:00:00 2001 From: Robert Morell Date: Tue, 12 Mar 2013 09:40:16 -0700 Subject: [PATCH] list.h: Make xorg_list_init inline Otherwise this file is emitted in every unit that includes it. Signed-off-by: Robert Morell Reviewed-by: Jamey Sharp Reviewed-by: Peter Hutterer Signed-off-by: Peter Hutterer --- include/list.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/list.h b/include/list.h index 067c6794f..11de7c561 100644 --- a/include/list.h +++ b/include/list.h @@ -119,7 +119,7 @@ struct xorg_list { * * @param The list to initialized. */ -static void +static inline void xorg_list_init(struct xorg_list *list) { list->next = list->prev = list;