aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>2002-04-08 20:30:56 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>2002-04-08 20:30:56 +0000
commit5c10ad55a8279e6288863553d8572cadbb738a22 (patch)
treef857c4d8ef07eb660634c128fc5a8f5e8fff8dea
parente937593bb85bdefaf14368e693754192765818f0 (diff)
More static-ization.
svn path=/trunk/; revision=5131
-rw-r--r--gtk/main.c4
-rw-r--r--packet-frame.c4
-rw-r--r--packet-gtp.c6
-rw-r--r--packet-ldp.c4
-rw-r--r--packet-radius.c4
-rw-r--r--packet-smb.c4
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 <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;
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 <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;
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 <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, {
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 <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;
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 <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;
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 <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},