forked from github/server
gcc inline muss static deklariert werden.
This commit is contained in:
parent
a6ffd0f35b
commit
475bd5a735
|
@ -36,7 +36,7 @@ extern "C" {
|
||||||
**** ****/
|
**** ****/
|
||||||
#if defined __GNUC__
|
#if defined __GNUC__
|
||||||
# define HAVE_INLINE
|
# define HAVE_INLINE
|
||||||
# define INLINE_FUNCTION __inline
|
# define INLINE_FUNCTION static __inline
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* define USE_DMALLOC to enable use of the dmalloc library */
|
/* define USE_DMALLOC to enable use of the dmalloc library */
|
||||||
|
|
|
@ -1081,6 +1081,7 @@ fix_chaosgates(void)
|
||||||
while (a!=NULL) {
|
while (a!=NULL) {
|
||||||
spec_direction * sd = (spec_direction *)a->data.v;
|
spec_direction * sd = (spec_direction *)a->data.v;
|
||||||
region * r2 = findregion(sd->x, sd->y);
|
region * r2 = findregion(sd->x, sd->y);
|
||||||
|
if (r2!=NULL) {
|
||||||
border * b = get_borders(r, r2);
|
border * b = get_borders(r, r2);
|
||||||
while (b) {
|
while (b) {
|
||||||
if (b->type==&bt_chaosgate) break;
|
if (b->type==&bt_chaosgate) break;
|
||||||
|
@ -1089,6 +1090,7 @@ fix_chaosgates(void)
|
||||||
if (b==NULL) {
|
if (b==NULL) {
|
||||||
b = new_border(&bt_chaosgate, r, r2);
|
b = new_border(&bt_chaosgate, r, r2);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
a = a->nexttype;
|
a = a->nexttype;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue