aboutsummaryrefslogtreecommitdiffstats
path: root/packet-arp.h
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>2001-03-13 21:34:28 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>2001-03-13 21:34:28 +0000
commit5664e5887f4da905f94035556eb232611796cee2 (patch)
treed7075be8e004cc316e2e87d695012482960173ae /packet-arp.h
parentd820905672fc2bbac7c609c1628e22dcbb3e2827 (diff)
Make tvb_get_ptr() return 'const guint8*', and clean up all the
usages of tvb_get_ptr(). packet-ieee80211.c still has one bad usage, in which it *does* modify the tvbuff's data. svn path=/trunk/; revision=3128
Diffstat (limited to 'packet-arp.h')
-rw-r--r--packet-arp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-arp.h b/packet-arp.h
index ce44a2c7a2..6e93f52d65 100644
--- a/packet-arp.h
+++ b/packet-arp.h
@@ -2,7 +2,7 @@
* Definitions of routines for ARP packet disassembly that are used
* elsewhere
*
- * $Id: packet-arp.h,v 1.4 2000/11/13 07:18:40 guy Exp $
+ * $Id: packet-arp.h,v 1.5 2001/03/13 21:34:23 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -27,7 +27,7 @@
#ifndef __PACKET_ARP_H__
#define __PACKET_ARP_H__
-gchar *arphrdaddr_to_str(guint8 *ad, int ad_len, guint16 type);
+gchar *arphrdaddr_to_str(const guint8 *ad, int ad_len, guint16 type);
gchar *arphrdtype_to_str(guint16 hwtype, const char *fmt);
void dissect_atm_nsap(tvbuff_t *tvb, int offset, int len, proto_tree *tree);