aboutsummaryrefslogtreecommitdiffstats
path: root/packet-afs.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-10-23 04:26:55 +0000
committerGuy Harris <guy@alum.mit.edu>2000-10-23 04:26:55 +0000
commita922ced0f1cb704c56f9b1b8e4cc26eb9d0d5977 (patch)
tree583899865c23825b405a8173efc6da622a8d08e0 /packet-afs.c
parent4b15a76ece6d6270230e53a0eaa3531eea605793 (diff)
downloadwireshark-a922ced0f1cb704c56f9b1b8e4cc26eb9d0d5977.tar.gz
wireshark-a922ced0f1cb704c56f9b1b8e4cc26eb9d0d5977.tar.bz2
wireshark-a922ced0f1cb704c56f9b1b8e4cc26eb9d0d5977.zip
Make the routines used for the hash table static - they're not used
outside "packet-afs.c". svn path=/trunk/; revision=2531
Diffstat (limited to 'packet-afs.c')
-rw-r--r--packet-afs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/packet-afs.c b/packet-afs.c
index f4a4b978a3..e444272807 100644
--- a/packet-afs.c
+++ b/packet-afs.c
@@ -6,7 +6,7 @@
* Portions based on information retrieved from the RX definitions
* in Arla, the free AFS client at http://www.stacken.kth.se/project/arla/
*
- * $Id: packet-afs.c,v 1.14 2000/10/21 05:52:21 guy Exp $
+ * $Id: packet-afs.c,v 1.15 2000/10/23 04:26:55 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -653,9 +653,9 @@ static void dissect_backup_reply(const u_char *pd,
/*
- * Hash Functions - copied from packet-afs.c
+ * Hash Functions
*/
-gint
+static gint
afs_equal(gconstpointer v, gconstpointer w)
{
struct afs_request_key *v1 = (struct afs_request_key *)v;
@@ -671,7 +671,7 @@ afs_equal(gconstpointer v, gconstpointer w)
return 0;
}
-guint
+static guint
afs_hash (gconstpointer v)
{
struct afs_request_key *key = (struct afs_request_key *)v;