Commit 7050aae6 authored by Robert Morell's avatar Robert Morell Committed by Peter Hutterer

list.h: Make xorg_list_init inline

Otherwise this file is emitted in every unit that includes it.
Signed-off-by: Robert Morell's avatarRobert Morell <rmorell@nvidia.com>
Reviewed-by: Jamey Sharp's avatarJamey Sharp <jamey@minilop.net>
Reviewed-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent 31595b52
...@@ -119,7 +119,7 @@ struct xorg_list { ...@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment