summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--glib/tests/cond.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/glib/tests/cond.c b/glib/tests/cond.c
index 480e32e74..f5215e518 100644
--- a/glib/tests/cond.c
+++ b/glib/tests/cond.c
@@ -25,8 +25,6 @@
#include <glib.h>
-#include <unistd.h>
-
static GCond cond;
static GMutex mutex;
static volatile gint next;
@@ -251,9 +249,6 @@ test_wait_until (void)
g_mutex_init (&lock);
g_cond_init (&cond);
- /* Don't wait forever... */
- alarm (60);
-
until = g_get_monotonic_time () + G_TIME_SPAN_SECOND;
/* Could still have spurious wakeups, so we must loop... */