summaryrefslogtreecommitdiffstats
path: root/java/src/jni/exceptionImp.c
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2022-07-26 21:45:46 (GMT)
committerGitHub <noreply@github.com>2022-07-26 21:45:46 (GMT)
commitae414872f50187e64cbd6cc8f076c22cf5df2d53 (patch)
treeb616f33f5daa89f213e7c64e04c63afde906e939 /java/src/jni/exceptionImp.c
parent213eac2588369f75a11df6bb1788dde33c4b82e2 (diff)
downloadhdf5-ae414872f50187e64cbd6cc8f076c22cf5df2d53.zip
hdf5-ae414872f50187e64cbd6cc8f076c22cf5df2d53.tar.gz
hdf5-ae414872f50187e64cbd6cc8f076c22cf5df2d53.tar.bz2
Develop clang 13 format (#1933)
* Update format source to clang 13 * More format changes
Diffstat (limited to 'java/src/jni/exceptionImp.c')
-rw-r--r--java/src/jni/exceptionImp.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/java/src/jni/exceptionImp.c b/java/src/jni/exceptionImp.c
index 3ccb6ef..0f135cd 100644
--- a/java/src/jni/exceptionImp.c
+++ b/java/src/jni/exceptionImp.c
@@ -33,7 +33,7 @@ extern "C" {
#include "exceptionImp.h"
extern H5E_auto2_t efunc;
-extern void * edata;
+extern void *edata;
/*******************/
/* Local Variables */
@@ -158,7 +158,7 @@ Java_hdf_hdf5lib_H5_H5error_1on(JNIEnv *env, jclass clss)
JNIEXPORT void JNICALL
Java_hdf_hdf5lib_exceptions_HDF5LibraryException_printStackTrace0(JNIEnv *env, jobject obj, jstring file_name)
{
- FILE * stream = NULL;
+ FILE *stream = NULL;
const char *file = NULL;
UNUSED(obj);
@@ -237,7 +237,7 @@ static jboolean
H5JNIErrorClass(JNIEnv *env, const char *message, const char *className)
{
jstring str;
- char * args[2];
+ char *args[2];
jboolean retVal = JNI_FALSE;
if (NULL == (str = ENVPTR->NewStringUTF(ENVONLY, message)))
@@ -371,8 +371,8 @@ h5libraryError(JNIEnv *env)
hid_t min_num;
hid_t maj_num;
hid_t stk_id = H5I_INVALID_HID;
- char * args[2];
- char * msg_str = NULL;
+ char *args[2];
+ char *msg_str = NULL;
jboolean retVal = JNI_FALSE;
exceptionNumbers.maj_num = 0;