baum
changeset 47:c31b5bb6d493
merged header files into only one (removed actions.h)
author | meillo@marmaro.de |
---|---|
date | Sun, 02 Mar 2008 10:34:09 +0100 |
parents | 22305a6e128d |
children | f9fc4c4f9e3d |
files | Makefile actions.c actions.h baum.c baum.h |
diffstat | 5 files changed, 2 insertions(+), 4 deletions(-) [+] |
line diff
1.1 --- a/Makefile Sun Mar 02 10:29:55 2008 +0100 1.2 +++ b/Makefile Sun Mar 02 10:34:09 2008 +0100 1.3 @@ -23,7 +23,7 @@ 1.4 # files 1.5 SRC=baum.c actions.c 1.6 OBJ=$(SRC:.c=.o) 1.7 -DEP = baum.h actions.h 1.8 +DEP = baum.h 1.9 1.10 1.11
2.1 --- a/actions.c Sun Mar 02 10:29:55 2008 +0100 2.2 +++ b/actions.c Sun Mar 02 10:34:09 2008 +0100 2.3 @@ -2,7 +2,6 @@ 2.4 #include <stdlib.h> 2.5 #include <string.h> 2.6 #include "baum.h" 2.7 -#include "actions.h" 2.8 2.9 unsigned char action_print(struct Node* node); 2.10 unsigned char action_sum(struct Node* node);
3.1 --- a/actions.h Sun Mar 02 10:29:55 2008 +0100 3.2 +++ b/actions.h Sun Mar 02 10:34:09 2008 +0100 3.3 @@ -1,1 +0,0 @@ 3.4 -unsigned char action(struct Node* node);
4.1 --- a/baum.c Sun Mar 02 10:29:55 2008 +0100 4.2 +++ b/baum.c Sun Mar 02 10:34:09 2008 +0100 4.3 @@ -12,7 +12,6 @@ 4.4 #include <string.h> 4.5 4.6 #include "baum.h" 4.7 -#include "actions.h" 4.8 4.9 #define VERSION "0.3" 4.10
5.1 --- a/baum.h Sun Mar 02 10:29:55 2008 +0100 5.2 +++ b/baum.h Sun Mar 02 10:34:09 2008 +0100 5.3 @@ -4,6 +4,7 @@ 5.4 struct Node* insertLast(struct Node* node, struct Node* insert); 5.5 struct Node* copyTree(struct Node* node); 5.6 5.7 +unsigned char action(struct Node* node); /* in actions.c */ 5.8 5.9 /* structs */ 5.10 struct Node {