mesa: Drop include of simple_list.h from mtypes.h.
authorFrancisco Jerez <currojerez@riseup.net>
Mon, 8 Jun 2015 11:49:31 +0000 (14:49 +0300)
committerFrancisco Jerez <currojerez@riseup.net>
Tue, 9 Jun 2015 10:56:06 +0000 (13:56 +0300)
simple_list.h defines a number of macros with short non-namespaced
names that can easily collide with other declarations (first_elem,
last_elem, next_elem, prev_elem, at_end), and according to the comment
it was only being included because of struct simple_node, which is no
longer used in this file.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/mtypes.h

index 1598e2cdbd03f44122be4e89d0b1477e7c2ab70e..e67e8074a8878f6c31968e15c0951830d99aa2cb 100644 (file)
@@ -43,7 +43,6 @@
 #include "glapi/glapi.h"
 #include "math/m_matrix.h"     /* GLmatrix */
 #include "glsl/shader_enums.h"
-#include "util/simple_list.h"  /* struct simple_node */
 #include "main/formats.h"       /* MESA_FORMAT_COUNT */