]> rtime.felk.cvut.cz Git - orte.git/blobdiff - orte/liborte/ul_gavlprim.c
Restore ORTE specific modifications to uLUt.
[orte.git] / orte / liborte / ul_gavlprim.c
index 3293a71d8ea7ad527e6334d3d73f614764d98c07..4696e10a5542875fc99f27058123c75441c08448 100644 (file)
@@ -1,17 +1,24 @@
 /*******************************************************************
-  uLan Communication - C interface library
+  uLan Utilities Library - C library of basic reusable constructions
 
   ul_gavlprim.c        - primitives for generic AVL tree
 
   (C) Copyright 2003 by Pavel Pisa - Originator
 
-  The uLan driver is distributed under the Gnu General Public License. 
-  See file COPYING for details.
+  The uLan utilities library can be used, copied and modified under
+  next licenses
+    - GPL - GNU General Public License
+    - LGPL - GNU Lesser General Public License
+    - MPL - Mozilla Public License
+    - and other licenses added by project originators
+  Code can be modified and re-distributed under any combination
+  of the above listed licenses. If contributor does not agree with
+  some of the licenses, he/she can delete appropriate line.
+  Warning, if you delete all lines, you are not allowed to
+  distribute source code and/or binaries utilizing code.
+  
+  See files COPYING and README for details.
 
-  Originator reserve the right to use and publish sources
-  under different conditions too. If third party contributors
-  do not accept this condition, they can delete this statement
-  and only GNU license will apply.
  *******************************************************************/
 
 //#include <string.h>
@@ -71,6 +78,10 @@ gavl_prev_node(const gavl_node_t *node)
   }
 }
 
+#if defined(SDCC) || defined(__SDCC)
+#pragma save
+#pragma nogcse
+#endif /*SDCC*/
 /**
  * gavl_balance_one - Balance One Node to Enhance Balance Factor
  * @subtree:   pointer to pointer to node for which balance is enhanced
@@ -207,6 +218,9 @@ gavl_balance_one(gavl_node_t **subtree)
   /*printf("#%d",ret);*/
   return(ret);
 }
+#if defined(SDCC) || defined(__SDCC)
+#pragma restore
+#endif /*SDCC*/
 
 /**
  * gavl_insert_primitive_at - Low Lewel Routine to Insert Node into Tree