expose sigar_net_stat_get now that all platforms implement net_connection_walk

This commit is contained in:
Doug MacEachern committed 2006-07-01 19:14:32 +00:00
1 parent 13751fe221
commit dc6429ad45
2 files changed
+2 -4

No files matched your search

-2
View File
@@ -824,7 +824,6 @@ JNIEXPORT jobjectArray SIGAR_JNI(Sigar_getNetConnectionList)
return connarray;
}
#if defined(__linux__) /* XXX other platforms need sigar_net_connection_walker */
JNIEXPORT void SIGAR_JNI(NetStat_nstat)
(JNIEnv *env, jobject obj, jobject sigar_obj, jint flags)
{
@@ -859,7 +858,6 @@ JNIEXPORT void SIGAR_JNI(NetStat_nstat)
return;
}
#endif
JNIEXPORT jstring SIGAR_JNI(NetConnection_getTypeString)
(JNIEnv *env, jobject obj)