Committing clang-format changes

This commit is contained in:
github-actions 2024-10-09 22:15:38 +00:00 committed by Larry Knox
parent ccb31cd420
commit 68573e3d29
3 changed files with 5 additions and 5 deletions

View File

@ -157,7 +157,7 @@ hg_thread_cond_timedwait(hg_thread_cond_t *cond, hg_thread_mutex_t *mutex, unsig
ld = ldiv(now.tv_usec + timeout * 1000L, 1000000L); ld = ldiv(now.tv_usec + timeout * 1000L, 1000000L);
abs_timeout.tv_nsec = ld.rem * 1000L; abs_timeout.tv_nsec = ld.rem * 1000L;
#endif #endif
abs_timeout.tv_sec = now.tv_sec + ld.quot; abs_timeout.tv_sec = now.tv_sec + ld.quot;
if (pthread_cond_timedwait(cond, mutex, &abs_timeout)) if (pthread_cond_timedwait(cond, mutex, &abs_timeout))
return HG_UTIL_FAIL; return HG_UTIL_FAIL;

View File

@ -70,7 +70,7 @@ static herr_t H5TS__mutex_unlock(H5TS_mutex_t *mutex, unsigned int *lock_count);
#ifdef H5_HAVE_WIN_THREADS #ifdef H5_HAVE_WIN_THREADS
H5TS_once_t H5TS_first_init_g; H5TS_once_t H5TS_first_init_g;
#else #else
H5TS_once_t H5TS_first_init_g = PTHREAD_ONCE_INIT; H5TS_once_t H5TS_first_init_g = PTHREAD_ONCE_INIT;
#endif #endif
/* Thread-local keys, used by other interfaces */ /* Thread-local keys, used by other interfaces */
@ -78,7 +78,7 @@ H5TS_once_t H5TS_first_init_g = PTHREAD_ONCE_INIT;
#ifdef H5_HAVE_WIN_THREADS #ifdef H5_HAVE_WIN_THREADS
H5TS_key_t H5TS_errstk_key_g = TLS_OUT_OF_INDEXES; H5TS_key_t H5TS_errstk_key_g = TLS_OUT_OF_INDEXES;
#else #else
H5TS_key_t H5TS_errstk_key_g; H5TS_key_t H5TS_errstk_key_g;
#endif #endif
#ifdef H5_HAVE_CODESTACK #ifdef H5_HAVE_CODESTACK
@ -94,7 +94,7 @@ H5TS_key_t H5TS_funcstk_key_g;
#ifdef H5_HAVE_WIN_THREADS #ifdef H5_HAVE_WIN_THREADS
H5TS_key_t H5TS_apictx_key_g = TLS_OUT_OF_INDEXES; H5TS_key_t H5TS_apictx_key_g = TLS_OUT_OF_INDEXES;
#else #else
H5TS_key_t H5TS_apictx_key_g; H5TS_key_t H5TS_apictx_key_g;
#endif #endif
/*******************/ /*******************/

View File

@ -10126,7 +10126,7 @@ test_versionbounds(void)
hsize_t arr_dim[] = {ARRAY_LEN}; /* Length of the array */ hsize_t arr_dim[] = {ARRAY_LEN}; /* Length of the array */
int low, high; /* Indices for iterating over versions */ int low, high; /* Indices for iterating over versions */
H5F_libver_t versions[] = {H5F_LIBVER_EARLIEST, H5F_LIBVER_V18, H5F_LIBVER_V110, H5F_libver_t versions[] = {H5F_LIBVER_EARLIEST, H5F_LIBVER_V18, H5F_LIBVER_V110,
H5F_LIBVER_V112, H5F_LIBVER_V114, H5F_LIBVER_V114}; H5F_LIBVER_V112, H5F_LIBVER_V114, H5F_LIBVER_V114};
int versions_count = 6; /* Number of version bounds in the array */ int versions_count = 6; /* Number of version bounds in the array */
unsigned highest_version; /* Highest version in nested datatypes */ unsigned highest_version; /* Highest version in nested datatypes */
color_t enum_val; /* Enum type index */ color_t enum_val; /* Enum type index */