summaryrefslogtreecommitdiff
path: root/mysys/mf_brkhant.c
diff options
context:
space:
mode:
Diffstat (limited to 'mysys/mf_brkhant.c')
-rw-r--r--mysys/mf_brkhant.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/mysys/mf_brkhant.c b/mysys/mf_brkhant.c
index 4e4bc2410f9..debf5d9a712 100644
--- a/mysys/mf_brkhant.c
+++ b/mysys/mf_brkhant.c
@@ -24,17 +24,15 @@
/* Set variable that we can't break */
+#if !defined(THREAD)
void dont_break(void)
{
-#if !defined(THREAD)
my_dont_interrupt=1;
-#endif
return;
} /* dont_break */
void allow_break(void)
{
-#if !defined(THREAD)
{
reg1 int index;
@@ -54,8 +52,8 @@ void allow_break(void)
_my_signals=0;
}
}
-#endif
} /* dont_break */
+#endif
/* Set old status */