summaryrefslogtreecommitdiffstats
path: root/src/H5system.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-09-25 21:11:52 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-09-25 21:11:52 (GMT)
commitaa08db839e6aea89487be985704d57a0e424b21b (patch)
tree51dbbee3efa3bc1a3f1bb2314202a5934d6f021c /src/H5system.c
parentcdc4b8a0fb55af4cf1a7bb4da5d8c4d454a0b8b6 (diff)
parent571a5e9250ca69adb54ef956361a5cf77059f67c (diff)
downloadhdf5-aa08db839e6aea89487be985704d57a0e424b21b.zip
hdf5-aa08db839e6aea89487be985704d57a0e424b21b.tar.gz
hdf5-aa08db839e6aea89487be985704d57a0e424b21b.tar.bz2
Merge pull request #2882 in HDFFV/hdf5 from ~BYRN/hdf5_adb:feature/cmakeV2-clang-format to develop
* commit '571a5e9250ca69adb54ef956361a5cf77059f67c': Add h5ls test plugin format target Fix manifest Add code owners file Update actions - split push/pull-request commits Change to executable Change to based on LLVM format Fix comment formatting due to tabs conversion Disable formatting for file File changes to affect formatting CMake and script changes for clang-format
Diffstat (limited to 'src/H5system.c')
-rw-r--r--src/H5system.c38
1 files changed, 19 insertions, 19 deletions
diff --git a/src/H5system.c b/src/H5system.c
index c5fea9f..d664038 100644
--- a/src/H5system.c
+++ b/src/H5system.c
@@ -73,7 +73,7 @@
/* Track whether tzset routine was called */
static hbool_t H5_ntzset = FALSE;
-
+
/*-------------------------------------------------------------------------
* Function: HDfprintf
*
@@ -107,7 +107,7 @@ static hbool_t H5_ntzset = FALSE;
* format_templ in the code below, but early (4.4.7, at least) gcc only
* allows diagnostic pragmas to be toggled outside of functions.
*/
-H5_GCC_DIAG_OFF(format-nonliteral)
+H5_GCC_DIAG_OFF("format-nonliteral")
int
HDfprintf(FILE *stream, const char *fmt, ...)
{
@@ -473,9 +473,9 @@ HDfprintf(FILE *stream, const char *fmt, ...)
HDva_end(ap);
return nout;
} /* end HDfprintf() */
-H5_GCC_DIAG_ON(format-nonliteral)
+H5_GCC_DIAG_ON("format-nonliteral")
+
-
/*-------------------------------------------------------------------------
* Function: HDstrtoll
*
@@ -600,7 +600,7 @@ HDstrtoll(const char *s, const char **rest, int base)
return acc;
} /* end HDstrtoll() */
#endif
-
+
/*-------------------------------------------------------------------------
* Function: HDrand/HDsrand
*
@@ -635,8 +635,8 @@ void HDsrand(unsigned int seed)
}
#endif /* H5_HAVE_RAND_R */
-
-
+
+
/*-------------------------------------------------------------------------
* Function: Pflock
*
@@ -680,7 +680,7 @@ Pflock(int fd, int operation) {
} /* end Pflock() */
#endif /* H5_HAVE_FCNTL */
-
+
/*-------------------------------------------------------------------------
* Function: Nflock
*
@@ -697,7 +697,7 @@ Nflock(int H5_ATTR_UNUSED fd, int H5_ATTR_UNUSED operation) {
return 0;
} /* end Nflock() */
-
+
/*-------------------------------------------------------------------------
* Function: H5_make_time
*
@@ -782,7 +782,7 @@ done:
/* Offset between 1/1/1601 and 1/1/1970 in 100 nanosecond units */
#define _W32_FT_OFFSET (116444736000000000ULL)
-
+
/*-------------------------------------------------------------------------
* Function: Wgettimeofday
*
@@ -834,7 +834,7 @@ Wgettimeofday(struct timeval *tv, struct timezone *tz)
return 0;
} /* end Wgettimeofday() */
-
+
/*-------------------------------------------------------------------------
* Function: Wsetenv
*
@@ -873,7 +873,7 @@ Wsetenv(const char *name, const char *value, int overwrite)
#pragma comment(lib, "advapi32.lib")
#endif
-
+
/*-------------------------------------------------------------------------
* Function: H5_get_win32_times
*
@@ -952,7 +952,7 @@ H5_get_win32_times(H5_timevals_t *tvs /*in,out*/)
#define WloginBuffer_count 256
static char Wlogin_buffer[WloginBuffer_count];
-
+
char*
Wgetlogin(void)
{
@@ -990,7 +990,7 @@ int c99_vsnprintf(char* str, size_t size, const char* format, va_list ap)
return count;
}
-
+
/*-------------------------------------------------------------------------
* Function: Wflock
*
@@ -1058,7 +1058,7 @@ Wnanosleep(const struct timespec *req, struct timespec *rem)
} /* end Wnanosleep() */
-
+
/*-------------------------------------------------------------------------
* Function: Wllround, Wllroundf, Wlround, Wlroundf, Wround, Wroundf
*
@@ -1236,7 +1236,7 @@ done:
#endif /* H5_HAVE_WIN32_API */
-
+
/*-------------------------------------------------------------------------
* Function: H5_build_extpath
*
@@ -1356,7 +1356,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5_build_extpath() */
-
+
/*--------------------------------------------------------------------------
* Function: H5_combine_path
*
@@ -1431,7 +1431,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5_combine_path() */
-
+
/*--------------------------------------------------------------------------
* Function: H5_nanosleep
*
@@ -1463,7 +1463,7 @@ H5_nanosleep(uint64_t nanosec)
#define H5_WIN32_ENV_VAR_BUFFER_SIZE 32767
-
+
/*-------------------------------------------------------------------------
* Function: H5_expand_windows_env_vars()
*