Mesa (master): Add dummy list node type 'struct simple_node'

Ian Romanick idr at kemper.freedesktop.org
Thu Sep 3 18:26:06 UTC 2009


Module: Mesa
Branch: master
Commit: f5a22721c5731c7a4c20f86d9925d9e58324c7a5
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f5a22721c5731c7a4c20f86d9925d9e58324c7a5

Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Mon Aug 31 14:49:33 2009 -0700

Add dummy list node type 'struct simple_node'

---

 src/mesa/main/simple_list.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/mesa/main/simple_list.h b/src/mesa/main/simple_list.h
index 63475f6..ff7f888 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.
  *




More information about the mesa-commit mailing list