summaryrefslogtreecommitdiffstats
path: root/test/testframe.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/testframe.c')
-rw-r--r--test/testframe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/testframe.c b/test/testframe.c
index cd2947b..b69f42e 100644
--- a/test/testframe.c
+++ b/test/testframe.c
@@ -646,7 +646,7 @@ TestAlarmOn(void)
alarm_sec = (unsigned)HDstrtoul(env_val, (char **)NULL, 10);
/* Set the number of seconds before alarm goes off */
- HDalarm((unsigned)alarm_sec);
+ alarm((unsigned)alarm_sec);
#endif
}
@@ -656,6 +656,6 @@ TestAlarmOff(void)
{
#ifdef H5_HAVE_ALARM
/* Set the number of seconds to zero */
- HDalarm(0);
+ alarm(0);
#endif
}