freebsd-ports/games/quakeforge/files/patch-libs__gib__gib_classes.c
Alejandro Pulver 80a08d871c - Fix building with GCC 4.x.
Reported by:	pointyhat
2006-12-17 19:24:20 +00:00

27 lines
555 B
C

--- ./libs/gib/gib_classes.c.orig Fri Nov 28 23:01:31 2003
+++ ./libs/gib/gib_classes.c Sun Dec 17 15:56:41 2006
@@ -192,7 +192,7 @@
unsigned int size;
unsigned int i = 0;
- static qboolean
+ qboolean
iterator (gib_class_t *class, void *unused)
{
reply[i++] = class->name;
@@ -610,13 +610,13 @@
gib_classdesc_t desc;
enum {CLASS, INSTANCE} mode = INSTANCE;
- static void
+ void
mtabfree (void *mtab, void *unused)
{
free (mtab);
}
- static const char *
+ const char *
fname (const char *str)
{
if (mode == INSTANCE)