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:
committed by
Peter Hutterer
parent
31595b5286
commit
7050aae69c
@@ -119,7 +119,7 @@ struct xorg_list {
|
|||||||
*
|
*
|
||||||
* @param The list to initialized.
|
* @param The list to initialized.
|
||||||
*/
|
*/
|
||||||
static void
|
static inline void
|
||||||
xorg_list_init(struct xorg_list *list)
|
xorg_list_init(struct xorg_list *list)
|
||||||
{
|
{
|
||||||
list->next = list->prev = list;
|
list->next = list->prev = list;
|
||||||
|
|||||||
Reference in New Issue
Block a user