openbsd-ports/games/xinvaders/patches/patch-main_c

33 lines
530 B
Plaintext
Raw Normal View History

2007-10-26 17:19:16 -04:00
$OpenBSD: patch-main_c,v 1.1 2007/10/26 21:19:16 ajacoutot Exp $
--- main.c.orig Fri Oct 26 23:05:33 2007
+++ main.c Fri Oct 26 23:05:40 2007
@@ -135,14 +135,13 @@ caddr_t data;
1998-09-25 18:49:19 -04:00
return w;
}
-main(argc, argv)
+int main(argc, argv)
Cardinal argc;
char **argv;
{
static Arg args[10];
int n;
Widget form, button;
- extern WidgetClass labelwidgetclass;
me_image = NULL;
2007-10-26 17:19:16 -04:00
@@ -268,12 +267,4 @@ char *path;
1998-09-25 18:49:19 -04:00
#endif
}
}
-#endif
-
-#ifdef sparc
-XShapeCombineMask()
-{}
-
-XShapeQueryExtension()
-{}
#endif