diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2003-01-13 15:03:05 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2003-01-13 15:03:05 (GMT) |
commit | 3d4529bf2a78fa85c8ca56b30e60e4b9578baf0a (patch) | |
tree | 297f034de266a0319f62ed45c2a27b8dd1b147ee /src/H5private.h | |
parent | 8e391ad35a1ede1ac046f05710297aa40986642b (diff) | |
download | hdf5-3d4529bf2a78fa85c8ca56b30e60e4b9578baf0a.zip hdf5-3d4529bf2a78fa85c8ca56b30e60e4b9578baf0a.tar.gz hdf5-3d4529bf2a78fa85c8ca56b30e60e4b9578baf0a.tar.bz2 |
[svn-r6272] Purpose:
Code cleanup
Description:
Fix preprocessor macros to declare variables correctly.
Platforms tested:
MS Visual Studio
Diffstat (limited to 'src/H5private.h')
-rw-r--r-- | src/H5private.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5private.h b/src/H5private.h index 836e929..7ae8353 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -905,7 +905,7 @@ extern H5_debug_t H5_debug_g; */ #ifdef H5_DEBUG_API #define H5TRACE_DECL const char *RTYPE=NULL; \ - double CALLTIME + double CALLTIME; #define H5TRACE0(R,T) RTYPE=R; \ CALLTIME=H5_trace(NULL,FUNC,T) #define H5TRACE1(R,T,A0) RTYPE=R; \ @@ -1113,7 +1113,7 @@ extern hbool_t H5_MPEinit_g; /* Has the MPE Library been initialized? */ /* Use this macro for all "normal" API functions */ #define FUNC_ENTER_API(func_name,err) {{ \ - FUNC_ENTER_API_VARS; \ + FUNC_ENTER_API_VARS \ FUNC_ENTER_COMMON(func_name,H5_IS_API(FUNC)); \ FUNC_ENTER_API_THREADSAFE; \ FUNC_ENTER_API_COMMON(func_name,INTERFACE_INIT,err); \ @@ -1126,7 +1126,7 @@ extern hbool_t H5_MPEinit_g; /* Has the MPE Library been initialized? */ * like H5Eprint and H5Ewalk. */ #define FUNC_ENTER_API_NOCLEAR(func_name,err) {{ \ - FUNC_ENTER_API_VARS; \ + FUNC_ENTER_API_VARS \ FUNC_ENTER_COMMON(func_name,H5_IS_API(FUNC)); \ FUNC_ENTER_API_THREADSAFE; \ FUNC_ENTER_API_COMMON(func_name,INTERFACE_INIT,err); \ @@ -1138,7 +1138,7 @@ extern hbool_t H5_MPEinit_g; /* Has the MPE Library been initialized? */ * are: H5close, H5check_version, H5Eget_major, H5Eget_minor. */ #define FUNC_ENTER_API_NOINIT(func_name) {{ \ - FUNC_ENTER_API_VARS; \ + FUNC_ENTER_API_VARS \ FUNC_ENTER_COMMON(func_name,H5_IS_API(FUNC)); \ FUNC_ENTER_API_THREADSAFE; \ BEGIN_MPE_LOG(func_name); \ |