diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2010-04-29 22:40:34 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2010-04-29 22:40:34 (GMT) |
commit | ff0135b9b8ce651cdd03756bda2f2537abd80ea5 (patch) | |
tree | c80b7b9860186123739b53b79f7e259d0935d228 /src/H5detect.c | |
parent | 09a958e1e1a3e536be6d1fc28ad6a118ff9f801a (diff) | |
download | hdf5-ff0135b9b8ce651cdd03756bda2f2537abd80ea5.zip hdf5-ff0135b9b8ce651cdd03756bda2f2537abd80ea5.tar.gz hdf5-ff0135b9b8ce651cdd03756bda2f2537abd80ea5.tar.bz2 |
[svn-r18678] Just mopped up some looseends by using the macro HDxyz instead the xyz function
names.
Tested: Jam only since this is trivial.
Diffstat (limited to 'src/H5detect.c')
-rw-r--r-- | src/H5detect.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/H5detect.c b/src/H5detect.c index 5bae2bb..4490fb5 100644 --- a/src/H5detect.c +++ b/src/H5detect.c @@ -71,13 +71,13 @@ static const char *FileHeader = "\n\ #if defined(H5_HAVE_SIGSETJMP) && defined(H5_HAVE_SIGLONGJMP) /* Always save blocked signals to be restore by siglongjmp. */ #define H5JMP_BUF sigjmp_buf -#define H5SETJMP(buf) sigsetjmp(buf, 1) -#define H5LONGJMP(buf, val) siglongjmp(buf, val) +#define H5SETJMP(buf) HDsigsetjmp(buf, 1) +#define H5LONGJMP(buf, val) HDsiglongjmp(buf, val) #define H5HAVE_SIGJMP # sigsetjmp/siglongjmp are supported. #elif defined(H5_HAVE_LONGJMP) #define H5JMP_BUF jmp_buf -#define H5SETJMP(buf) setjmp(buf) -#define H5LONGJMP(buf, val) longjmp(buf, val) +#define H5SETJMP(buf) HDsetjmp(buf) +#define H5LONGJMP(buf, val) HDlongjmp(buf, val) #endif /* ALIGNMENT and signal-handling status codes */ @@ -463,9 +463,9 @@ sigsegv_handler(int UNUSED signo) /* supported. */ sigset_t set; - sigemptyset(&set); - sigaddset(&set, SIGSEGV); - sigprocmask(SIG_UNBLOCK, &set, NULL); + HDsigemptyset(&set); + HDsigaddset(&set, SIGSEGV); + HDsigprocmask(SIG_UNBLOCK, &set, NULL); #endif sigsegv_handler_called_g++; |