"packet-udp.c" and "packet-x25.c" both have global variables named
"hash_table", but each of them is used only in the file in question; make them static, so that they don't collide. svn path=/trunk/; revision=440
This commit is contained in:
parent
50dbd34d6d
commit
621c56ed1e
@ -1,7 +1,7 @@
|
|||||||
/* packet-udp.c
|
/* packet-udp.c
|
||||||
* Routines for UDP packet disassembly
|
* Routines for UDP packet disassembly
|
||||||
*
|
*
|
||||||
* $Id: packet-udp.c,v 1.21 1999/07/22 16:41:22 gram Exp $
|
* $Id: packet-udp.c,v 1.22 1999/08/05 00:05:00 guy Exp $
|
||||||
*
|
*
|
||||||
* Ethereal - Network traffic analyzer
|
* Ethereal - Network traffic analyzer
|
||||||
* By Gerald Combs <gerald@zing.org>
|
* By Gerald Combs <gerald@zing.org>
|
||||||
@ -86,7 +86,7 @@ struct hash_struct {
|
|||||||
struct hash_struct *next;
|
struct hash_struct *next;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hash_struct *hash_table[256];
|
static struct hash_struct *hash_table[256];
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* These routines are for UDP, will be generalized soon: RJS
|
* These routines are for UDP, will be generalized soon: RJS
|
||||||
|
@ -115,7 +115,7 @@ typedef struct _global_vc_info {
|
|||||||
struct _global_vc_info *next;
|
struct _global_vc_info *next;
|
||||||
} global_vc_info;
|
} global_vc_info;
|
||||||
|
|
||||||
global_vc_info *hash_table[64];
|
static global_vc_info *hash_table[64];
|
||||||
|
|
||||||
void
|
void
|
||||||
free_vc_info(vc_info *pt)
|
free_vc_info(vc_info *pt)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user