summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Morell <rmorell@nvidia.com>2013-03-12 09:40:16 -0700
committerPeter Hutterer <peter.hutterer@who-t.net>2013-03-13 10:44:19 +1000
commit7050aae69c2a55dfdbb5c6af7882307e90ba4275 (patch)
tree17b72ee48aca8ee3912001608ee6a534cbb3895e
parent31595b528645a7e4903eb81da0fc332d78407f25 (diff)
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>
-rw-r--r--include/list.h2
1 files changed, 1 insertions, 1 deletions
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;