From 823b85f900b84765fc0fbe94cafdf385135a8880 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Mon, 25 Jun 2012 21:12:26 -0300 Subject: [PATCH] gencat/comp.*: renamed to tree.* --- gencat/Makefile | 2 +- gencat/gencat.c | 2 +- gencat/pdf.c | 2 +- gencat/{comp.c => tree.c} | 4 ++-- gencat/{comp.h => tree.h} | 8 ++++---- 5 files changed, 9 insertions(+), 9 deletions(-) rename gencat/{comp.c => tree.c} (98%) rename gencat/{comp.h => tree.h} (92%) diff --git a/gencat/Makefile b/gencat/Makefile index 6a7b1d6..09b9b31 100644 --- a/gencat/Makefile +++ b/gencat/Makefile @@ -11,7 +11,7 @@ PREFIX ?= /usr/local -OBJS = gencat.o comp.o libs.o pdf.o +OBJS = gencat.o tree.o libs.o pdf.o SHELL = /bin/bash CFLAGS = -Wall -g diff --git a/gencat/gencat.c b/gencat/gencat.c index 68335a4..78097d9 100644 --- a/gencat/gencat.c +++ b/gencat/gencat.c @@ -15,7 +15,7 @@ #include #include -#include "comp.h" +#include "tree.h" #include "libs.h" #include "pdf.h" #include "gencat.h" diff --git a/gencat/pdf.c b/gencat/pdf.c index 922df46..0d0e941 100644 --- a/gencat/pdf.c +++ b/gencat/pdf.c @@ -15,7 +15,7 @@ #include #include "gencat.h" -#include "comp.h" +#include "tree.h" #include "pdf.h" diff --git a/gencat/comp.c b/gencat/tree.c similarity index 98% rename from gencat/comp.c rename to gencat/tree.c index 2fbfca5..3a401aa 100644 --- a/gencat/comp.c +++ b/gencat/tree.c @@ -1,5 +1,5 @@ /* - * comp.c - Component hierarchy + * tree.c - Component hierarchy * * Copyright 2012 by Werner Almesberger * @@ -16,7 +16,7 @@ #include #include "util.h" -#include "comp.h" +#include "tree.h" struct node *tree = NULL; diff --git a/gencat/comp.h b/gencat/tree.h similarity index 92% rename from gencat/comp.h rename to gencat/tree.h index 70d2d44..29fa8f2 100644 --- a/gencat/comp.h +++ b/gencat/tree.h @@ -1,5 +1,5 @@ /* - * comp.h - Component hierarchy + * tree.h - Component hierarchy * * Copyright 2012 by Werner Almesberger * @@ -9,8 +9,8 @@ * (at your option) any later version. */ -#ifndef COMP_H -#define COMP_H +#ifndef TREE_H +#define TREE_H #include "libs.h" @@ -45,4 +45,4 @@ void set_libs(struct node *node, void dump_tree(void); void dump_comp(void); -#endif /* !COMP_H */ +#endif /* !TREE_H */