summaryrefslogtreecommitdiff
path: root/net/asterisk10/files/patch-main::utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/asterisk10/files/patch-main::utils.c')
-rw-r--r--net/asterisk10/files/patch-main::utils.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/net/asterisk10/files/patch-main::utils.c b/net/asterisk10/files/patch-main::utils.c
deleted file mode 100644
index 7f2f1495d714..000000000000
--- a/net/asterisk10/files/patch-main::utils.c
+++ /dev/null
@@ -1,16 +0,0 @@
-
-$FreeBSD$
-
---- main/utils.c.orig
-+++ main/utils.c
-@@ -914,8 +914,8 @@
- pthread_attr_init(attr);
- }
-
--#ifdef __linux__
-- /* On Linux, pthread_attr_init() defaults to PTHREAD_EXPLICIT_SCHED,
-+#if defined(__linux__) || defined(__FreeBSD__)
-+ /* On Linux and FreeBSD, pthread_attr_init() defaults to PTHREAD_EXPLICIT_SCHED,
- which is kind of useless. Change this here to
- PTHREAD_INHERIT_SCHED; that way the -p option to set realtime
- priority will propagate down to new threads by default.