From 10505d14cb532efc139e90609cb0e33657987b63 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Wed, 26 Mar 2008 16:46:21 +0000 Subject: [PATCH] init_list -> list_init --- bindings/java/src/jni/javasigar.c | 2 +- bindings/java/src/jni/javasigar.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bindings/java/src/jni/javasigar.c b/bindings/java/src/jni/javasigar.c index c2b8bf82..a9684832 100644 --- a/bindings/java/src/jni/javasigar.c +++ b/bindings/java/src/jni/javasigar.c @@ -218,7 +218,7 @@ static void sigar_set_pointer(JNIEnv *env, jobject obj, const void *ptr) { #endif } -int jsigar_init_list(JNIEnv *env, jsigar_list_t *obj) +int jsigar_list_init(JNIEnv *env, jsigar_list_t *obj) { jclass listclass = JENV->FindClass(env, "java/util/ArrayList"); diff --git a/bindings/java/src/jni/javasigar.h b/bindings/java/src/jni/javasigar.h index 021cc9f3..43093b9d 100644 --- a/bindings/java/src/jni/javasigar.h +++ b/bindings/java/src/jni/javasigar.h @@ -42,7 +42,7 @@ typedef struct { extern "C" { #endif -int jsigar_init_list(JNIEnv *env, jsigar_list_t *obj); +int jsigar_list_init(JNIEnv *env, jsigar_list_t *obj); int jsigar_list_add(void *data, char *value, int len);