mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-20 08:10:03 +01:00
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:
parent
31595b5286
commit
7050aae69c
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue