PUD: cleanup includes
[olsrd.git] / lib / pud / wireformat-java / src / main / c / org_olsr_plugin_pud_ClusterLeader.c
index ed449bf..89fa0a2 100644 (file)
@@ -1,4 +1,5 @@
 #include "org_olsr_plugin_pud_ClusterLeader.h"
+
 #include "util.h"
 
 /*
@@ -41,26 +42,6 @@ JNIEXPORT jlong JNICALL Java_org_olsr_plugin_pud_ClusterLeader_getClusterLeaderV
        return (jlong) validityTime;
 }
 
-/*
- * Class:     org_olsr_plugin_pud_ClusterLeader
- * Method:    getClusterLeaderDownlinkPort
- * Signature: ()I
- */
-JNIEXPORT jint JNICALL Java_org_olsr_plugin_pud_ClusterLeader_getClusterLeaderDownlinkPort
-  (JNIEnv * env, jobject this) {
-       jobject dataObject;
-       jboolean isCopy;
-       UplinkMessage * uplinkMessage = getUplinkMessage(env, this, &dataObject,
-                       &isCopy);
-
-       unsigned short downlinkPort = getClusterLeaderDownlinkPort(
-                       getClusterLeaderMessage(uplinkMessage));
-
-       releaseUplinkMessage(env, uplinkMessage, dataObject, isCopy, JNI_ABORT);
-
-       return (jint) downlinkPort;
-}
-
 /*
  * Class:     org_olsr_plugin_pud_ClusterLeader
  * Method:    getClusterLeaderOriginator