Make local functions static. Include *.h when needed.

svn path=/trunk/; revision=54164
This commit is contained in:
Anders Broman 2013-12-17 06:10:41 +00:00
parent 5c085177fe
commit a1f179c4f5
3 changed files with 7 additions and 4 deletions

View File

@ -3759,7 +3759,7 @@ be_ganss_loc_type(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo _U_, guint
/*
* 3.2.2.98 Application Data
*/
guint16
static guint16
be_app_data(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo _U_, guint32 offset, guint len _U_, gchar *add_string _U_, int string_len _U_)
{
guint32 curr_offset;
@ -3773,7 +3773,7 @@ be_app_data(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo _U_, guint32 off
/*
* 3.2.2.99 Data Identity
*/
guint16
static guint16
be_app_data_id(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo _U_, guint32 offset, guint len, gchar *add_string _U_, int string_len _U_)
{
proto_tree_add_item(tree, hf_gsm_a_bssmap_data_id, tvb, offset, 1, ENC_BIG_ENDIAN);
@ -5673,7 +5673,7 @@ bssmap_reset(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo _U_, guint32 of
/*
* 3.2.1.24 RESET ACKNOWLEDGE
*/
void
static void
bssmap_reset_ack(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo _U_, guint32 offset, guint len)
{
guint32 curr_offset;

View File

@ -43,6 +43,7 @@
#include "packet-ranap.h"
#include "packet-bssgp.h"
#include "packet-ntp.h"
#include "packet-gtpv2.h"
void proto_register_gtpv2(void);
void proto_reg_handoff_gtpv2(void);

View File

@ -40,6 +40,8 @@
#include <epan/prefs.h>
#include <epan/wmem/wmem.h>
#include "packet-h264.h"
void proto_register_h264(void);
void proto_reg_handoff_h264(void);
@ -384,7 +386,7 @@ h264_byte_aligned(int bit_offset)
*/
#define cVALS(x) (const value_string*)(x)
guint32
static guint32
dissect_h264_exp_golomb_code(proto_tree *tree, int hf_index, tvbuff_t *tvb, gint *start_bit_offset, h264_golomb_descriptors descriptor)
/*(tvbuff_t *tvb, gint *start_bit_offset) */
{