summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-scsi-smc.c
diff options
context:
space:
mode:
authorSebastien Tandel <sebastien@tandel.be>2007-04-13 15:23:47 +0000
committerSebastien Tandel <sebastien@tandel.be>2007-04-13 15:23:47 +0000
commit42791e157bb86a834f7bfaf600aaef8934963018 (patch)
tree8390daba58dc366f07d22ac1a0baacbc794a965a /epan/dissectors/packet-scsi-smc.c
parenta9db1f7a776b43528c1791cdd7684446b6856a74 (diff)
downloadwireshark-42791e157bb86a834f7bfaf600aaef8934963018.tar.gz
use of volatile for every functions and not only the ones using the Exception
mechanisms. (fix rev21398) Windows buildbot sould be green again as formal parameters are the same as the ones in the declaration now. svn path=/trunk/; revision=21409
Diffstat (limited to 'epan/dissectors/packet-scsi-smc.c')
-rw-r--r--epan/dissectors/packet-scsi-smc.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/epan/dissectors/packet-scsi-smc.c b/epan/dissectors/packet-scsi-smc.c
index 979ce0b516..03226394ad 100644
--- a/epan/dissectors/packet-scsi-smc.c
+++ b/epan/dissectors/packet-scsi-smc.c
@@ -68,8 +68,8 @@ static gint ett_scsi_range = -1;
static gint ett_scsi_move = -1;
void
-dissect_smc_exchangemedium (tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree,
- guint offset, gboolean isreq, gboolean iscdb,
+dissect_smc_exchangemedium (tvbuff_t *volatile tvb, packet_info *pinfo _U_, proto_tree *tree,
+ volatile guint offset, gboolean isreq, gboolean iscdb,
guint payload_len _U_, scsi_task_data_t *cdata _U_)
{
guint8 flags;
@@ -100,8 +100,8 @@ dissect_smc_exchangemedium (tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *t
}
void
-dissect_smc_position_to_element (tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree,
- guint offset, gboolean isreq, gboolean iscdb,
+dissect_smc_position_to_element (tvbuff_t *volatile tvb, packet_info *pinfo _U_, proto_tree *tree,
+ volatile guint offset, gboolean isreq, gboolean iscdb,
guint payload_len _U_, scsi_task_data_t *cdata _U_)
{
guint8 flags;
@@ -128,8 +128,8 @@ dissect_smc_position_to_element (tvbuff_t *tvb, packet_info *pinfo _U_, proto_tr
}
void
-dissect_smc_initialize_element_status (tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree,
- guint offset, gboolean isreq, gboolean iscdb,
+dissect_smc_initialize_element_status (tvbuff_t *volatile tvb, packet_info *pinfo _U_, proto_tree *tree,
+ volatile guint offset, gboolean isreq, gboolean iscdb,
guint payload_len _U_, scsi_task_data_t *cdata _U_)
{
guint8 flags;
@@ -147,8 +147,8 @@ dissect_smc_initialize_element_status (tvbuff_t *tvb, packet_info *pinfo _U_, pr
}
void
-dissect_smc_initialize_element_status_with_range (tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree,
- guint offset, gboolean isreq, gboolean iscdb,
+dissect_smc_initialize_element_status_with_range (tvbuff_t *volatile tvb, packet_info *pinfo _U_, proto_tree *tree,
+ volatile guint offset, gboolean isreq, gboolean iscdb,
guint payload_len _U_, scsi_task_data_t *cdata _U_)
{
guint8 flags;
@@ -177,8 +177,8 @@ dissect_smc_initialize_element_status_with_range (tvbuff_t *tvb, packet_info *pi
}
void
-dissect_smc_openclose_importexport_element (tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree,
- guint offset, gboolean isreq, gboolean iscdb,
+dissect_smc_openclose_importexport_element (tvbuff_t *volatile tvb, packet_info *pinfo _U_, proto_tree *tree,
+ volatile guint offset, gboolean isreq, gboolean iscdb,
guint payload_len _U_, scsi_task_data_t *cdata _U_)
{
guint8 flags;
@@ -199,8 +199,8 @@ dissect_smc_openclose_importexport_element (tvbuff_t *tvb, packet_info *pinfo _U
}
}
void
-dissect_smc_movemedium (tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree,
- guint offset, gboolean isreq, gboolean iscdb,
+dissect_smc_movemedium (tvbuff_t *volatile tvb, packet_info *pinfo _U_, proto_tree *tree,
+ volatile guint offset, gboolean isreq, gboolean iscdb,
guint payload_len _U_, scsi_task_data_t *cdata _U_)
{
guint8 flags;
@@ -494,8 +494,8 @@ dissect_scsi_smc_elements (tvbuff_t *tvb, packet_info *pinfo,
void
-dissect_smc_readelementstatus (tvbuff_t *tvb, packet_info *pinfo,
- proto_tree *tree, guint offset, gboolean isreq,
+dissect_smc_readelementstatus (tvbuff_t *volatile tvb, packet_info *pinfo,
+ proto_tree *tree, volatile guint offset, gboolean isreq,
gboolean iscdb,
guint payload_len _U_, scsi_task_data_t *cdata _U_)
{