File ntop-no-return-in-nonvoid-function.patch of Package ntop

Index: plugins/netflowPlugin.c
===================================================================
--- plugins/netflowPlugin.c.orig
+++ plugins/netflowPlugin.c
@@ -25,7 +25,7 @@
 
 static void* netflowMainLoop(void* _deviceId);
 #ifdef HAVE_SNMP
-static void* netflowUtilsLoop(void* _deviceId);
+static void netflowUtilsLoop(void* _deviceId);
 #endif
 
 //#define DEBUG_FLOWS
@@ -2126,7 +2126,7 @@ RETSIGTYPE netflowcleanup(int signo) {
 /* ****************************** */
 
 #ifdef HAVE_SNMP
-static void* netflowUtilsLoop(void* _deviceId) {
+static void netflowUtilsLoop(void* _deviceId) {
   int deviceId = (int)_deviceId;
 
   while(1) {
openSUSE Build Service is sponsored by