summaryrefslogtreecommitdiff
path: root/src/mesa/main/simple_list.h
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2009-08-31 14:49:33 -0700
committerIan Romanick <ian.d.romanick@intel.com>2009-09-03 11:22:46 -0700
commitf5a22721c5731c7a4c20f86d9925d9e58324c7a5 (patch)
tree30225152d190ba5e811b4630f6f427955bfce350 /src/mesa/main/simple_list.h
parentf37070bab6af350caec905ea7658e9241042b6cc (diff)
Add dummy list node type 'struct simple_node'
Diffstat (limited to 'src/mesa/main/simple_list.h')
-rw-r--r--src/mesa/main/simple_list.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/main/simple_list.h b/src/mesa/main/simple_list.h
index 63475f6f74..ff7f888238 100644
--- a/src/mesa/main/simple_list.h
+++ b/src/mesa/main/simple_list.h
@@ -37,6 +37,11 @@
#ifndef _SIMPLE_LIST_H
#define _SIMPLE_LIST_H
+struct simple_node {
+ struct simple_node *next;
+ struct simple_node *prev;
+};
+
/**
* Remove an element from list.
*