trunk: changeset 1374

Wed, 10 Mar 2004 18:31:01 +0100

author
tuomov
date
Wed, 10 Mar 2004 18:31:01 +0100
changeset 69
df17024f1107
parent 68
7a97a1769840
child 70
e866dc825481

trunk: changeset 1374
Added include checks to rb header.

rb.h file | annotate | diff | comparison | revisions
--- a/rb.h	Wed Mar 10 17:53:04 2004 +0100
+++ b/rb.h	Wed Mar 10 18:31:01 2004 +0100
@@ -22,7 +22,10 @@
 
 /* Original code by Jim Plank (plank@cs.utk.edu) */
 /* modified for THINK C 6.0 for Macintosh by Chris Bartley */
- 
+
+#ifndef LIBTU_RB_H
+#define LIBTU_RB_H
+
 typedef struct rb_status {
   unsigned red : 1 ;
   unsigned internal : 1 ;
@@ -136,3 +139,4 @@
 #define rb_traverse(ptr, lst) \
   for(ptr = rb_first(lst); ptr != rb_nil(lst); ptr = rb_next(ptr))
  
+#endif /* LIBTU_RB_H */

mercurial