aboutsummaryrefslogtreecommitdiffstats
path: root/text2pcap.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-11-24 07:55:07 +0000
committerGuy Harris <guy@alum.mit.edu>2001-11-24 07:55:07 +0000
commit73fc903278dc638f562774b4f0607a2071a66eeb (patch)
treed1b464aa2a5607be2eb4be5d3429f6adf9f088b7 /text2pcap.c
parentf84bce97ccbf3ea9ae331019a3434265806465a1 (diff)
Fix the return value of a routine.
svn path=/trunk/; revision=4251
Diffstat (limited to 'text2pcap.c')
-rw-r--r--text2pcap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/text2pcap.c b/text2pcap.c
index 796ea48f83..92c7cddbf9 100644
--- a/text2pcap.c
+++ b/text2pcap.c
@@ -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;