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 (2008-03-02)
parents 22305a6e128d
children f9fc4c4f9e3d
files Makefile actions.c actions.h baum.c baum.h
diffstat 5 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Sun Mar 02 10:29:55 2008 +0100
+++ b/Makefile	Sun Mar 02 10:34:09 2008 +0100
@@ -23,7 +23,7 @@
 # files
 SRC=baum.c actions.c
 OBJ=$(SRC:.c=.o)
-DEP = baum.h actions.h
+DEP = baum.h
 
 
 
--- a/actions.c	Sun Mar 02 10:29:55 2008 +0100
+++ b/actions.c	Sun Mar 02 10:34:09 2008 +0100
@@ -2,7 +2,6 @@
 #include <stdlib.h>
 #include <string.h>
 #include "baum.h"
-#include "actions.h"
 
 unsigned char action_print(struct Node* node);
 unsigned char action_sum(struct Node* node);
--- a/actions.h	Sun Mar 02 10:29:55 2008 +0100
+++ b/actions.h	Sun Mar 02 10:34:09 2008 +0100
@@ -1,1 +0,0 @@
-unsigned char action(struct Node* node);
--- a/baum.c	Sun Mar 02 10:29:55 2008 +0100
+++ b/baum.c	Sun Mar 02 10:34:09 2008 +0100
@@ -12,7 +12,6 @@
 #include <string.h>
 
 #include "baum.h"
-#include "actions.h"
 
 #define VERSION "0.3"
 
--- a/baum.h	Sun Mar 02 10:29:55 2008 +0100
+++ b/baum.h	Sun Mar 02 10:34:09 2008 +0100
@@ -4,6 +4,7 @@
 struct Node* insertLast(struct Node* node, struct Node* insert);
 struct Node* copyTree(struct Node* node);
 
+unsigned char action(struct Node* node); /* in actions.c */
 
 /* structs */
 struct Node {