forked from github/server
fieser fehler, relativ alt. planes mehrfach defined (weil im header nicht extern)
This commit is contained in:
parent
763261092d
commit
5f0ba5c2a0
|
@ -35,6 +35,8 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
struct plane *planes;
|
||||||
|
|
||||||
plane *
|
plane *
|
||||||
getplane(const region *r)
|
getplane(const region *r)
|
||||||
{
|
{
|
||||||
|
|
|
@ -57,7 +57,7 @@ typedef struct plane {
|
||||||
struct attrib *attribs;
|
struct attrib *attribs;
|
||||||
} plane;
|
} plane;
|
||||||
|
|
||||||
struct plane *planes;
|
extern struct plane *planes;
|
||||||
|
|
||||||
struct plane *getplane(const struct region *r);
|
struct plane *getplane(const struct region *r);
|
||||||
struct plane *findplane(int x, int y);
|
struct plane *findplane(int x, int y);
|
||||||
|
|
Loading…
Reference in New Issue