diff options
author | Bill Meier <wmeier@newsguy.com> | 2012-12-05 15:56:36 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2012-12-05 15:56:36 +0000 |
commit | 7cd0417af555a78b19c6909a40d1867e0fe9a063 (patch) | |
tree | cc09f739029479eee683f26228e098db307fd1aa /plugins/wimax/msg_aas_beam.c | |
parent | f8ba6b5a077fa89f1d1e55b5bed4bab0ea6b11cf (diff) | |
download | wireshark-7cd0417af555a78b19c6909a40d1867e0fe9a063.tar.gz |
Fix numerous instances of a variable/parameter name "shadowing" a library function name;
(At least some (gcc ?) compilers give a "shadow" warning for these).
svn path=/trunk/; revision=46402
Diffstat (limited to 'plugins/wimax/msg_aas_beam.c')
-rw-r--r-- | plugins/wimax/msg_aas_beam.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/plugins/wimax/msg_aas_beam.c b/plugins/wimax/msg_aas_beam.c index 1151d79992..7164d4e0e8 100644 --- a/plugins/wimax/msg_aas_beam.c +++ b/plugins/wimax/msg_aas_beam.c @@ -169,7 +169,7 @@ static void dissect_mac_mgmt_msg_aas_beam_rsp_decoder(tvbuff_t *tvb, packet_info { guint offset = 0; guint tvb_len, payload_type, report_type; - guint number_of_frequencies, index; + guint number_of_frequencies, indx; proto_item *aas_beam_item = NULL; proto_tree *aas_beam_tree = NULL; @@ -217,7 +217,7 @@ static void dissect_mac_mgmt_msg_aas_beam_rsp_decoder(tvbuff_t *tvb, packet_info /* calculate the total number of frequencies */ number_of_frequencies = (tvb_len - offset) / 2 - 1; /* display the frequency */ - for(index = 0; index < number_of_frequencies; index++) + for(indx = 0; indx < number_of_frequencies; indx++) { /* display the Frequency Value (real part) */ proto_tree_add_item(aas_beam_tree, hf_aas_beam_freq_value_re, tvb, offset, 1, ENC_BIG_ENDIAN); /* move to next field */ @@ -247,21 +247,21 @@ void proto_register_mac_mgmt_msg_aas_beam(void) { &hf_aas_beam_message_type, { - "MAC Management Message Type", "wmx.macmgtmsgtype.aas_beam", + "MAC Management Message Type", "wmx.macmgtmsgtype.aas_beam", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_aas_beam_select_index, { - "AAS Beam Index", "wmx.aas_beam.aas_beam_index", + "AAS Beam Index", "wmx.aas_beam.aas_beam_index", FT_UINT8, BASE_DEC, NULL, AAS_BEAM_SELECT_AAS_BEAM_INDEX_MASK, NULL, HFILL } }, { &hf_aas_beam_beam_bit_mask, { - "Beam Bit Mask", "wmx.aas_beam.beam_bit_mask", + "Beam Bit Mask", "wmx.aas_beam.beam_bit_mask", FT_UINT8, BASE_HEX, NULL, AAS_BEAM_BEAM_BIT_MASK_MASK, NULL, HFILL } }, @@ -269,63 +269,63 @@ void proto_register_mac_mgmt_msg_aas_beam(void) { &hf_aas_beam_cinr_value, { - "CINR Mean Value", "wmx.aas_beam.cinr_mean_value", + "CINR Mean Value", "wmx.aas_beam.cinr_mean_value", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_aas_beam_feedback_request_number, { - "Feedback Request Number", "wmx.aas_beam.feedback_request_number", + "Feedback Request Number", "wmx.aas_beam.feedback_request_number", FT_UINT8, BASE_DEC, NULL, AAS_BEAM_FEEDBACK_REQUEST_NUMBER_MASK, NULL, HFILL } }, { &hf_aas_beam_frame_number, { - "Frame Number", "wmx.aas_beam.frame_number", + "Frame Number", "wmx.aas_beam.frame_number", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_aas_beam_freq_value_im, { - "Frequency Value (imaginary part)", "wmx.aas_beam.freq_value_im", + "Frequency Value (imaginary part)", "wmx.aas_beam.freq_value_im", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_aas_beam_freq_value_re, { - "Frequency Value (real part)", "wmx.aas_beam.freq_value_re", + "Frequency Value (real part)", "wmx.aas_beam.freq_value_re", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_aas_beam_measurement_report_type, { - "Measurement Report Type", "wmx.aas_beam.measurement_report_type", + "Measurement Report Type", "wmx.aas_beam.measurement_report_type", FT_UINT8, BASE_DEC, VALS(vals_report_types), AAS_BEAM_MEASUREMENT_REPORT_TYPE_MASK, NULL, HFILL } }, { &hf_aas_beam_select_reserved, { - "Reserved", "wmx.aas_beam.reserved", + "Reserved", "wmx.aas_beam.reserved", FT_UINT8, BASE_HEX, NULL, AAS_BEAM_SELECT_RESERVED_MASK, NULL, HFILL } }, { &hf_aas_beam_resolution_parameter, { - "Resolution Parameter", "wmx.aas_beam.resolution_parameter", + "Resolution Parameter", "wmx.aas_beam.resolution_parameter", FT_UINT8, BASE_DEC, VALS(vals_resolution_parameter), AAS_BEAM_RESOLUTION_PARAMETER_MASK, NULL, HFILL } }, { &hf_aas_beam_rssi_value, { - "RSSI Mean Value", "wmx.aas_beam.rssi_mean_value", + "RSSI Mean Value", "wmx.aas_beam.rssi_mean_value", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL } }, @@ -333,7 +333,7 @@ void proto_register_mac_mgmt_msg_aas_beam(void) { &hf_aas_beam_unknown_type, { - "Unknown TLV type", "wmx.aas_beam.unknown_type", + "Unknown TLV type", "wmx.aas_beam.unknown_type", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL } } |