summaryrefslogtreecommitdiff
path: root/source3/ubiqx/ubi_SplayTree.h
diff options
context:
space:
mode:
authorChristopher R. Hertel <crh@samba.org>1998-06-03 21:38:51 +0000
committerChristopher R. Hertel <crh@samba.org>1998-06-03 21:38:51 +0000
commit52c69766ea495f08a907c6ca76b1cef8df8c5d7c (patch)
tree995f70cd33cc73cacbea54125d48a6959df7607d /source3/ubiqx/ubi_SplayTree.h
parentc435955b02c7fc227b9475ff73c62e080d34a1af (diff)
downloadsamba-52c69766ea495f08a907c6ca76b1cef8df8c5d7c.tar.gz
samba-52c69766ea495f08a907c6ca76b1cef8df8c5d7c.tar.bz2
samba-52c69766ea495f08a907c6ca76b1cef8df8c5d7c.zip
It occurred to me that the samba includes.h file should be included in the
header files used by the ubiqx modules, instead of being hidden in the .c files. This would ensure that anything in includes.h would be "seen" by the ubiqx headers. I also had to put an #ifdef around the includes for ubi_SplayTree.h and ubi_Cache.h in includes.h to prevent the header of the descendant type from being included before its parent type. Chris -)----- (This used to be commit e30a7e023b7491c01e052ae3dbd1788f84075413)
Diffstat (limited to 'source3/ubiqx/ubi_SplayTree.h')
-rw-r--r--source3/ubiqx/ubi_SplayTree.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/source3/ubiqx/ubi_SplayTree.h b/source3/ubiqx/ubi_SplayTree.h
index 327996d740..156980ceb7 100644
--- a/source3/ubiqx/ubi_SplayTree.h
+++ b/source3/ubiqx/ubi_SplayTree.h
@@ -39,6 +39,29 @@
* -------------------------------------------------------------------------- **
*
* Log: ubi_SplayTree.h,v
+ * Revision 4.3 1998/06/03 17:45:05 crh
+ * Further fiddling with sys_include.h. It's now in ubi_BinTree.h which is
+ * included by all of the binary tree files.
+ *
+ * Also fixed some warnings produced by lint on Irix 6.2, which doesn't seem
+ * to like syntax like this:
+ *
+ * if( (a = b) )
+ *
+ * The fix was to change lines like the above to:
+ *
+ * if( 0 != (a=b) )
+ *
+ * Which means the same thing.
+ *
+ * Reminder: Some of the ubi_tr* macros in ubi_BinTree.h are redefined in
+ * ubi_AVLtree.h and ubi_SplayTree.h. This allows easy swapping
+ * of tree types by simply changing a header. Unfortunately, the
+ * macro redefinitions in ubi_AVLtree.h and ubi_SplayTree.h will
+ * conflict if used together. You must either choose a single tree
+ * type, or use the underlying function calls directly. Compare
+ * the two header files for more information.
+ *
* Revision 4.2 1998/06/02 01:29:14 crh
* Changed ubi_null.h to sys_include.h to make it more generic.
*