aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-scsi.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2013-12-11 20:04:37 +0000
committerAnders Broman <anders.broman@ericsson.com>2013-12-11 20:04:37 +0000
commit2939977a4ba9a8b78bb6b94fb477e9459f8d7075 (patch)
treea99739ac2a6c60b8b5a424056883d6a5f82d56de /epan/dissectors/packet-scsi.c
parent7a5d4ed4da109d78daa78e40609dd291400797f4 (diff)
- Make local functions static.
- Forward declaration of register functions. svn path=/trunk/; revision=53942
Diffstat (limited to 'epan/dissectors/packet-scsi.c')
-rw-r--r--epan/dissectors/packet-scsi.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/epan/dissectors/packet-scsi.c b/epan/dissectors/packet-scsi.c
index ef9b491d1e..ad8b0c19dd 100644
--- a/epan/dissectors/packet-scsi.c
+++ b/epan/dissectors/packet-scsi.c
@@ -98,6 +98,9 @@
#include "packet-scsi-ssc.h"
#include "packet-scsi-smc.h"
+void proto_register_scsi(void);
+void proto_reg_handoff_scsi(void);
+
static int proto_scsi = -1;
static int hf_scsi_inq_control_vendor_specific = -1;
static int hf_scsi_inq_control_reserved = -1;
@@ -4945,7 +4948,7 @@ dissect_scsi_descriptor_snsinfo(tvbuff_t *tvb, proto_tree *sns_tree, guint offse
}
}
-void
+static void
dissect_scsi_sense(tvbuff_t *tvb, proto_tree *sns_tree, guint offset)
{
guint8 sense_type;