glamor: Remove more out-of-tree compat code.
Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com> Reviewed-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
40a8186f0f
commit
b98e49379c
|
@ -54,19 +54,6 @@
|
|||
#include "glamor_debug.h"
|
||||
|
||||
#include <list.h>
|
||||
/* The list.h rename all the function to add xorg_ prefix.
|
||||
We add hack here to avoid the compile error when using
|
||||
old version xserver header file.
|
||||
These will be removed in future. */
|
||||
#ifndef xorg_list_entry
|
||||
#define xorg_list list
|
||||
#define xorg_list_for_each_entry list_for_each_entry
|
||||
#define xorg_list_for_each_entry_safe list_for_each_entry_safe
|
||||
#define xorg_list_del list_del
|
||||
#define xorg_list_add list_add
|
||||
#define xorg_list_append list_append
|
||||
#define xorg_list_init list_init
|
||||
#endif
|
||||
|
||||
struct glamor_pixmap_private;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user