More static-ization.

svn path=/trunk/; revision=5131
This commit is contained in:
Gilbert Ramirez 2002-04-08 20:30:56 +00:00
parent e937593bb8
commit 5c10ad55a8
6 changed files with 13 additions and 13 deletions

View File

@ -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 <gerald@ethereal.com>
@ -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;

View File

@ -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 <gerald@ethereal.com>
@ -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;

View File

@ -4,7 +4,7 @@
* Copyright 2001, Michal Melerowicz <michal.melerowicz@nokia.com>
* Nicolas Balkota <balkota@mac.com>
*
* $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 <gerald@ethereal.com>
@ -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, {

View File

@ -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 <rsharpe@ns.aus.com>
*
@ -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;

View File

@ -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 <gerald@ethereal.com>
@ -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;

View File

@ -3,7 +3,7 @@
* Copyright 1999, Richard Sharpe <rsharpe@ns.aus.com>
* 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 <gerald@ethereal.com>
@ -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},