JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
add missing "extern" (fixes FTBFS on gcc-10)
[vor.git] / sprite.h
index 0445077..d67b655 100644 (file)
--- a/sprite.h
+++ b/sprite.h
@@ -33,7 +33,7 @@ struct sprite {
 
 #define COLLIDES(sprite) ((sprite)->flags & COLLIDE)
 
-Sprite *free_sprites[N_TYPES];  // lists of free sprites, by type.
+extern Sprite *free_sprites[N_TYPES];  // lists of free sprites, by type.
 
 void do_collision(Sprite *a, Sprite *b);
 void collisions(void);