baum

diff baum.c @ 15:e2048e569891

insertLast returns now new inserted node; very dumb implementation for action_times
author meillo@marmaro.de
date Wed, 13 Feb 2008 09:57:07 +0100
parents bf660b45bba9
children f0856c177403
line diff
     1.1 --- a/baum.c	Wed Feb 13 09:16:01 2008 +0100
     1.2 +++ b/baum.c	Wed Feb 13 09:57:07 2008 +0100
     1.3 @@ -58,9 +58,10 @@
     1.4  	return node;
     1.5  }
     1.6  
     1.7 -void insertLast(struct Node* node, struct Node* insert) {
     1.8 +struct Node* insertLast(struct Node* node, struct Node* insert) {
     1.9  	node = lastNode(node);
    1.10  	node->right = insert;
    1.11 +	return insert;
    1.12  }
    1.13  
    1.14  /* delete */