diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2023-06-29 13:32:40 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-29 13:32:40 (GMT) |
commit | a90bdbbcfc6db6718d368fe7d0c570238e302bc7 (patch) | |
tree | 41e896d50e68458fa5cadddafeca80ef44c327e3 /test/testframe.c | |
parent | 651b20ccb7b83d5e9ef215594542cdb8119071a5 (diff) | |
download | hdf5-a90bdbbcfc6db6718d368fe7d0c570238e302bc7.zip hdf5-a90bdbbcfc6db6718d368fe7d0c570238e302bc7.tar.gz hdf5-a90bdbbcfc6db6718d368fe7d0c570238e302bc7.tar.bz2 |
Remove HD from protected POSIX calls (#3203)
These calls are non-C99 but protected by ifdefs and have no Windows
equivalents:
* HDalarm
* HDasprintf
* HDclock_gettime
* HDfcntl
* HDgethostname
* HDgetrusage
* HDsymlink
Diffstat (limited to 'test/testframe.c')
-rw-r--r-- | test/testframe.c | 4 |
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 } |