aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xonotic/xonotic-moncontrol.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/xonotic/xonotic-moncontrol.patch')
-rw-r--r--testing/xonotic/xonotic-moncontrol.patch23
1 files changed, 7 insertions, 16 deletions
diff --git a/testing/xonotic/xonotic-moncontrol.patch b/testing/xonotic/xonotic-moncontrol.patch
index 9d88866893..4fdd6a663b 100644
--- a/testing/xonotic/xonotic-moncontrol.patch
+++ b/testing/xonotic/xonotic-moncontrol.patch
@@ -1,21 +1,12 @@
--- 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__)
+@@ -69,9 +69,6 @@
+ else
+ moncleanup();
+ #endif
+-#elif defined(__linux__) || defined(__FreeBSD__)
+- extern int moncontrol(int);
- moncontrol(enable);
--#endif
+ #endif
}
-