aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xonotic/xonotic-moncontrol.patch
blob: 9d8886689352ce1b2c8db570f7f9826dcc60409e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- Xonotic.orig/source/darkplaces/sys_shared.c
+++ Xonotic/source/darkplaces/sys_shared.c
@@ -50,18 +50,8 @@
 	exit(returnvalue);
 }
 
-#if defined(__linux__) || defined(__FreeBSD__)
-#ifdef __cplusplus
-extern "C"
-#endif
-int moncontrol(int);
-#endif
-
 void Sys_AllowProfiling(qboolean enable)
 {
-#if defined(__linux__) || defined(__FreeBSD__)
-	moncontrol(enable);
-#endif
 }