summaryrefslogtreecommitdiffstats
path: root/java/src/jni/exceptionImp.c
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2022-07-29 13:36:40 (GMT)
committerGitHub <noreply@github.com>2022-07-29 13:36:40 (GMT)
commit40fc2cca16cd562954d3b724fa56badb3b9da72b (patch)
tree536b4bb51328af98ead7dfa1951f36b47f9b752a /java/src/jni/exceptionImp.c
parentc63dfb0fd3345ecb33014612f94d3959f147be03 (diff)
downloadhdf5-40fc2cca16cd562954d3b724fa56badb3b9da72b.zip
hdf5-40fc2cca16cd562954d3b724fa56badb3b9da72b.tar.gz
hdf5-40fc2cca16cd562954d3b724fa56badb3b9da72b.tar.bz2
1.10 clang 13 format #1933 (#1940)
* clang 13 format #1933 * Correct workflow
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 12ef0a1..a772ae2 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;