list.h: Make xorg_list_init inline

Otherwise this file is emitted in every unit that includes it.

Signed-off-by: Robert Morell <rmorell@nvidia.com>
Reviewed-by: Jamey Sharp <jamey@minilop.net>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Robert Morell 2013-03-12 09:40:16 -07:00 committed by Peter Hutterer
parent 31595b5286
commit 7050aae69c

View File

@ -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;