Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
track all the useless void
[simgrid.git] / src / bindings / java / jmsg.h
index 8b9cea8..deba4ac 100644 (file)
@@ -16,8 +16,8 @@ SG_BEGIN_DECL()
 extern int JAVA_HOST_LEVEL;
 extern int JAVA_STORAGE_LEVEL;
 
-JavaVM *get_java_VM(void);
-JNIEnv *get_current_thread_env(void);
+JavaVM *get_java_VM();
+JNIEnv *get_current_thread_env();
 /**
  * This function throws the correct exception according to the status provided.
  */
@@ -38,7 +38,7 @@ JNIEXPORT void JNICALL JNICALL Java_org_simgrid_msg_Msg_run(JNIEnv * env, jclass
 
 JNIEXPORT void JNICALL Java_org_simgrid_msg_Msg_init(JNIEnv * env, jclass cls, jobjectArray jargs);
 
-JNIEXPORT void JNICALL Java_org_simgrid_msg_Msg_energyInit(void);
+JNIEXPORT void JNICALL Java_org_simgrid_msg_Msg_energyInit();
 
 JNIEXPORT void JNICALL Java_org_simgrid_msg_Msg_debug(JNIEnv *, jclass, jstring);