From cc4d2a102659f4e5e73670c12cfdac56c3d2e1e5 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 8 Jun 2008 20:50:05 +0000 Subject: [PATCH] compiles with gcc --- src/common/kernel/resources.c | 6 ------ src/res/tutorial.xml | 8 ++++++++ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/common/kernel/resources.c b/src/common/kernel/resources.c index ad910a992..3bf07b021 100644 --- a/src/common/kernel/resources.c +++ b/src/common/kernel/resources.c @@ -206,9 +206,3 @@ rmt_create(const struct resource_type * rtype, const char * name) rawmaterialtypes = rmtype; return rmtype; } - -static void -add_rawmaterial(struct rawmaterial_type * rmtype) -{ - rmtype->rtype = rmtype->rtype; -} diff --git a/src/res/tutorial.xml b/src/res/tutorial.xml index cc3e33ef5..5a42ea74d 100644 --- a/src/res/tutorial.xml +++ b/src/res/tutorial.xml @@ -18,6 +18,14 @@ + + + + + + + +