Fix the return value of a routine.
authorGuy Harris <guy@alum.mit.edu>
Sat, 24 Nov 2001 07:55:07 +0000 (07:55 -0000)
committerGuy Harris <guy@alum.mit.edu>
Sat, 24 Nov 2001 07:55:07 +0000 (07:55 -0000)
svn path=/trunk/; revision=4251

text2pcap.c

index 796ea48f832ebdabf0d3a5cf90d82364e1fb3ced..92c7cddbf970e4fbf1c8054412978482c7313c42 100644 (file)
@@ -6,7 +6,7 @@
  *
  * (c) Copyright 2001 Ashok Narayanan <ashokn@cisco.com>
  *
- * $Id: text2pcap.c,v 1.5 2001/11/24 07:52:05 guy Exp $
+ * $Id: text2pcap.c,v 1.6 2001/11/24 07:55:07 guy Exp $
  * 
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@ethereal.com>
@@ -283,7 +283,7 @@ write_byte (char *str)
 /*----------------------------------------------------------------------
  * Remove bytes from the current packet
  */
-static int
+static void
 unwrite_bytes (unsigned long nbytes)
 {
     curr_offset -= nbytes;