From 5c10ad55a8279e6288863553d8572cadbb738a22 Mon Sep 17 00:00:00 2001 From: Gilbert Ramirez Date: Mon, 8 Apr 2002 20:30:56 +0000 Subject: More static-ization. svn path=/trunk/; revision=5131 --- gtk/main.c | 4 ++-- packet-frame.c | 4 ++-- packet-gtp.c | 6 +++--- packet-ldp.c | 4 ++-- packet-radius.c | 4 ++-- packet-smb.c | 4 ++-- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/gtk/main.c b/gtk/main.c index 454c6f2703..b0ecea0dbe 100644 --- a/gtk/main.c +++ b/gtk/main.c @@ -1,6 +1,6 @@ /* main.c * - * $Id: main.c,v 1.244 2002/03/31 23:11:04 guy Exp $ + * $Id: main.c,v 1.245 2002/04/08 20:30:56 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -213,7 +213,7 @@ set_fonts(GdkFont *regular, GdkFont *bold) /* Match selected byte pattern */ -void +static void match_selected_cb_do(gpointer data, int action, gchar *text) { char *ptr; diff --git a/packet-frame.c b/packet-frame.c index 308797fe28..dd8b9cf9f7 100644 --- a/packet-frame.c +++ b/packet-frame.c @@ -2,7 +2,7 @@ * * Top-most dissector. Decides dissector based on Wiretap Encapsulation Type. * - * $Id: packet-frame.c,v 1.22 2002/02/18 23:51:55 guy Exp $ + * $Id: packet-frame.c,v 1.23 2002/04/08 20:30:52 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -62,7 +62,7 @@ static const value_string p2p_dirs[] = { static dissector_table_t wtap_encap_dissector_table; -void +static void dissect_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { proto_tree *fh_tree; diff --git a/packet-gtp.c b/packet-gtp.c index c48dfd667a..00f5bbb12c 100644 --- a/packet-gtp.c +++ b/packet-gtp.c @@ -4,7 +4,7 @@ * Copyright 2001, Michal Melerowicz * Nicolas Balkota * - * $Id: packet-gtp.c,v 1.24 2002/01/31 12:10:58 guy Exp $ + * $Id: packet-gtp.c,v 1.25 2002/04/08 20:30:52 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -1705,7 +1705,7 @@ typedef struct _message { /* --------------------- * GPRS messages * ---------------------*/ -_gtp_mess_items gprs_mess_items[] = { +static _gtp_mess_items gprs_mess_items[] = { { GTP_MSG_ECHO_REQ, { @@ -2036,7 +2036,7 @@ _gtp_mess_items gprs_mess_items[] = { /* ----------------------------- * UMTS messages * -----------------------------*/ -_gtp_mess_items umts_mess_items[] = { +static _gtp_mess_items umts_mess_items[] = { { GTP_MSG_ECHO_REQ, { diff --git a/packet-ldp.c b/packet-ldp.c index 72c7b45803..131948a3e0 100644 --- a/packet-ldp.c +++ b/packet-ldp.c @@ -1,7 +1,7 @@ /* packet-ldp.c * Routines for LDP (RFC 3036) packet disassembly * - * $Id: packet-ldp.c,v 1.31 2002/04/02 01:32:46 guy Exp $ + * $Id: packet-ldp.c,v 1.32 2002/04/08 20:30:52 gram Exp $ * * Copyright (c) November 2000 by Richard Sharpe * @@ -431,7 +431,7 @@ static const value_string tlv_status_data[] = { /* Dissect FEC TLV */ -void +static void dissect_tlv_fec(tvbuff_t *tvb, guint offset, proto_tree *tree, int rem) { proto_tree *ti=NULL, *val_tree=NULL, *fec_tree=NULL, *vcintparam_tree=NULL; diff --git a/packet-radius.c b/packet-radius.c index bf7a087fb5..754c80766b 100644 --- a/packet-radius.c +++ b/packet-radius.c @@ -4,7 +4,7 @@ * * RFC 2865, RFC 2866, RFC 2867, RFC 2868, RFC 2869 * - * $Id: packet-radius.c,v 1.53 2002/03/27 19:39:28 guy Exp $ + * $Id: packet-radius.c,v 1.54 2002/04/08 20:30:52 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -899,7 +899,7 @@ gchar *rd_match_strval(guint32 val, const value_string *vs) { return val_to_str(val, vs, "Undefined (%u)"); } -gchar *rd_value_to_str(e_avphdr *avph, tvbuff_t *tvb, int offset) +static gchar *rd_value_to_str(e_avphdr *avph, tvbuff_t *tvb, int offset) { int print_type; gchar *cont; diff --git a/packet-smb.c b/packet-smb.c index 16e2636c4b..e0b345923f 100644 --- a/packet-smb.c +++ b/packet-smb.c @@ -3,7 +3,7 @@ * Copyright 1999, Richard Sharpe * 2001 Rewrite by Ronnie Sahlberg and Guy Harris * - * $Id: packet-smb.c,v 1.239 2002/03/29 21:55:05 sahlberg Exp $ + * $Id: packet-smb.c,v 1.240 2002/04/08 20:30:53 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -12056,7 +12056,7 @@ typedef struct _smb_function { int (*response)(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, proto_tree *smb_tree); } smb_function; -smb_function smb_dissector[256] = { +static smb_function smb_dissector[256] = { /* 0x00 Create Dir*/ {dissect_old_dir_request, dissect_empty}, /* 0x01 Delete Dir*/ {dissect_old_dir_request, dissect_empty}, /* 0x02 Open File*/ {dissect_open_file_request, dissect_open_file_response}, -- cgit v1.2.3