aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ip.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-01-30 22:58:54 +0000
committerGuy Harris <guy@alum.mit.edu>2002-01-30 22:58:54 +0000
commit7f2e644e84d70bc1e9f737cd1d24dd1ed5904373 (patch)
treedfd780355285f0f334f2754361ee594fbb1d63aa /packet-ip.c
parentd4017a1ee13a71b6618f297ec16c763dccbd1c9f (diff)
Make some variables volatile because GCC on Digital UNIX complained
about them being trashed by setjmp/longjmp (does GCC there stuff them into registers? They're bigger than 64 bits, so they don't even fit into a single register on Alpha). svn path=/trunk/; revision=4636
Diffstat (limited to 'packet-ip.c')
-rw-r--r--packet-ip.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/packet-ip.c b/packet-ip.c
index 01d6fb5c2a..e25c0e1603 100644
--- a/packet-ip.c
+++ b/packet-ip.c
@@ -1,7 +1,7 @@
/* packet-ip.c
* Routines for IP and miscellaneous IP protocol packet disassembly
*
- * $Id: packet-ip.c,v 1.158 2002/01/21 07:36:35 guy Exp $
+ * $Id: packet-ip.c,v 1.159 2002/01/30 22:58:54 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -1328,12 +1328,12 @@ dissect_icmp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
guint8 num_addrs = 0;
guint8 addr_entry_size = 0;
int i;
- address save_dl_src;
- address save_dl_dst;
- address save_net_src;
- address save_net_dst;
- address save_src;
- address save_dst;
+ volatile address save_dl_src;
+ volatile address save_dl_dst;
+ volatile address save_net_src;
+ volatile address save_net_dst;
+ volatile address save_src;
+ volatile address save_dst;
gboolean save_in_error_pkt;
tvbuff_t *next_tvb;