Otherwise this file is emitted in every unit that includes it.
Signed-off-by: Robert Morell <[email protected]>
---
This reduces the size of a debug Xorg binary on my system by just under 1%.
include/list.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/list.h b/include/list.h
index 067c679..11de7c5 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;
--
1.8.1.5
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel