summaryrefslogtreecommitdiffstats
path: root/audio/xcdplayer/files/patch-main.c
blob: a7c1a7d5bc494c6f49fad604936d993983737fe8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- main.c.orig	Tue Jan 12 19:59:36 1993
+++ main.c	Wed May 30 19:19:53 2007
@@ -23,12 +23,15 @@
 
 Widget		top_form;
 
-void
+extern AppData app_data;
+
+static void	chk_debug();
+
+int
 main(argc, argv)
 	int		argc;
 	char		**argv;
 {
-	static void	chk_debug();
 
 	chk_debug(argc, argv);
 
@@ -66,7 +69,7 @@
 	/* ugly hack */
 	for (i = 1; i < argc; i++) {
 		if (strcmp(argv[i], "-debug") == 0) {
-			debug = True;
+			app_data.debug = True;
 			break;
 		}
 	}
OpenPOWER on IntegriCloud