diff options
author | jmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-08-02 08:30:33 +0000 |
---|---|---|
committer | jmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-08-02 08:30:33 +0000 |
commit | 0914d3ae860d6256e9d5d4a58463f3cbdb83e90d (patch) | |
tree | a384a8ea6c347a0d00c08a3a73d823be204a9fb6 /epan | |
parent | a8932e43fbc760f1d58fd7e3029aabb051140e3c (diff) |
Last set of trivial fixes for "no previous declaration" warnings.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15191 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-ndps.c | 8 | ||||
-rw-r--r-- | epan/dissectors/packet-sscop.c | 4 | ||||
-rw-r--r-- | epan/dissectors/packet-tacacs.c | 2 | ||||
-rw-r--r-- | epan/dissectors/packet-tds.c | 2 | ||||
-rw-r--r-- | epan/dissectors/packet-ymsg.c | 2 | ||||
-rw-r--r-- | epan/stats_tree.c | 2 |
6 files changed, 10 insertions, 10 deletions
diff --git a/epan/dissectors/packet-ndps.c b/epan/dissectors/packet-ndps.c index 4bf955a02d..5ad415e0e3 100644 --- a/epan/dissectors/packet-ndps.c +++ b/epan/dissectors/packet-ndps.c @@ -3684,7 +3684,7 @@ static GMemChunk *ndps_req_hash_keys = NULL; static GMemChunk *ndps_req_hash_values = NULL; /* Hash Functions */ -gint +static gint ndps_equal(gconstpointer v, gconstpointer v2) { const ndps_req_hash_key *val1 = (const ndps_req_hash_key*)v; @@ -3697,7 +3697,7 @@ ndps_equal(gconstpointer v, gconstpointer v2) return 0; } -guint +static guint ndps_hash(gconstpointer v) { const ndps_req_hash_key *ndps_key = (const ndps_req_hash_key*)v; @@ -3750,7 +3750,7 @@ ndps_postseq_cleanup(void) * needed during random-access processing of the proto_tree.*/ } -ndps_req_hash_value* +static ndps_req_hash_value* ndps_hash_insert(conversation_t *conversation, guint32 ndps_xport) { ndps_req_hash_key *request_key; @@ -3775,7 +3775,7 @@ ndps_hash_insert(conversation_t *conversation, guint32 ndps_xport) } /* Returns the ncp_rec*, or NULL if not found. */ -ndps_req_hash_value* +static ndps_req_hash_value* ndps_hash_lookup(conversation_t *conversation, guint32 ndps_xport) { ndps_req_hash_key request_key; diff --git a/epan/dissectors/packet-sscop.c b/epan/dissectors/packet-sscop.c index d0b50a19f0..108a02f979 100644 --- a/epan/dissectors/packet-sscop.c +++ b/epan/dissectors/packet-sscop.c @@ -168,7 +168,7 @@ static const value_string sscop_type_vals[] = { #define SSCOP_SS_N_MR (reported_length - 8) /* lower 3 bytes thereof */ #define SSCOP_SS_N_R (reported_length - 4) /* lower 3 bytes thereof */ -extern void dissect_stat_list(proto_tree *tree, tvbuff_t *tvb,guint h) { +static void dissect_stat_list(proto_tree *tree, tvbuff_t *tvb,guint h) { gint n,i; proto_item* pi; @@ -341,7 +341,7 @@ dissect_sscop_and_payload(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, d } } -extern void dissect_sscop(tvbuff_t* tvb, packet_info* pinfo,proto_tree* tree) +static void dissect_sscop(tvbuff_t* tvb, packet_info* pinfo,proto_tree* tree) { dissect_sscop_and_payload(tvb,pinfo,tree,default_handle); } diff --git a/epan/dissectors/packet-tacacs.c b/epan/dissectors/packet-tacacs.c index 07c6cc02d0..e2098e8889 100644 --- a/epan/dissectors/packet-tacacs.c +++ b/epan/dissectors/packet-tacacs.c @@ -1020,7 +1020,7 @@ dissect_tacplus(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) } } -void +static void tacplus_pref_cb(void) { parse_tacplus_keys( tacplus_opt_key ); diff --git a/epan/dissectors/packet-tds.c b/epan/dissectors/packet-tds.c index d9a5f7b89f..fc33d6e98c 100644 --- a/epan/dissectors/packet-tds.c +++ b/epan/dissectors/packet-tds.c @@ -1300,7 +1300,7 @@ dissect_tds_login_ack_token(tvbuff_t *tvb, guint offset, guint token_sz, proto_t offset += 4; } -int +static int dissect_tds7_results_token(tvbuff_t *tvb, guint offset, proto_tree *tree) { guint16 num_columns, table_len; diff --git a/epan/dissectors/packet-ymsg.c b/epan/dissectors/packet-ymsg.c index 34e2743dd0..41dfbb8236 100644 --- a/epan/dissectors/packet-ymsg.c +++ b/epan/dissectors/packet-ymsg.c @@ -277,7 +277,7 @@ static const value_string ymsg_status_vals[] = { static guint get_ymsg_pdu_len(tvbuff_t *tvb, int offset); static void dissect_ymsg_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); -int +static int get_content_item_length(tvbuff_t *tvb, int offset) { int origoffset = offset; guint16 curdata; diff --git a/epan/stats_tree.c b/epan/stats_tree.c index 150460afe9..693ce21e74 100644 --- a/epan/stats_tree.c +++ b/epan/stats_tree.c @@ -322,7 +322,7 @@ extern int stats_tree_packet(void* p, packet_info* pinfo, epan_dissect_t *edt, c return 0; } -extern GHashTable* stat_tree_registry(void) { +static GHashTable* stat_tree_registry(void) { return registry; } |