fieser fehler, relativ alt. planes mehrfach defined (weil im header nicht extern)

This commit is contained in:
Enno Rehling 2004-04-10 23:23:24 +00:00
parent 763261092d
commit 5f0ba5c2a0
2 changed files with 5 additions and 3 deletions

View File

@ -35,6 +35,8 @@
#include <string.h>
#include <stdlib.h>
struct plane *planes;
plane *
getplane(const region *r)
{

View File

@ -57,7 +57,7 @@ typedef struct plane {
struct attrib *attribs;
} plane;
struct plane *planes;
extern struct plane *planes;
struct plane *getplane(const struct region *r);
struct plane *findplane(int x, int y);