Ethereal-dev: [Ethereal-dev] Return from a void function

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Albert Chin <ethereal-dev@xxxxxxxxxxxxxxxxxx>
Date: Wed, 10 Sep 2003 11:17:07 -0500
The Sun C compiler doesn't allow you to return a value from a void
function.

Against 0.9.15.

-- 
albert chin (china@xxxxxxxxxxxxxxxxxx)

-- snip snip
--- epan/osi-utils.c.orig	Wed Sep 10 10:20:50 2003
+++ epan/osi-utils.c	Wed Sep 10 10:20:54 2003
@@ -70,7 +70,7 @@
     }
   }
   else {    /* probably format as standard */
-    return( print_area_buf( ad, length, buf ) );
+    print_area_buf( ad, length, buf );
   }
 } /* print_nsap */