diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-03-30 12:39:29 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-03-30 19:41:13 +0000 |
commit | 8bf0a57ce1fddb3ca3172814d86c17bf2c07951d (patch) | |
tree | 466c9f4c4ca775e511f9086169f58399ca35aef7 /epan | |
parent | 1c3d85d577d3820486df2c9ebee687301f5c812b (diff) | |
download | wireshark-8bf0a57ce1fddb3ca3172814d86c17bf2c07951d.tar.gz |
Make some routines static.
Change-Id: I04860f058345cb633ab379c83dcfc24b6cf1a846
Reviewed-on: https://code.wireshark.org/review/20797
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-arp.c | 2 | ||||
-rw-r--r-- | epan/dissectors/packet-isup.c | 2 | ||||
-rw-r--r-- | epan/osi-utils.c | 8 | ||||
-rw-r--r-- | epan/osi-utils.h | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/epan/dissectors/packet-arp.c b/epan/dissectors/packet-arp.c index 0bf8003f5c..e8a722f1e0 100644 --- a/epan/dissectors/packet-arp.c +++ b/epan/dissectors/packet-arp.c @@ -564,7 +564,7 @@ static const value_string atm_nsap_afi_vals[] = { /* * XXX - shouldn't there be a centralized routine for dissecting NSAPs? * See also "dissect_nsap()" in epan/dissectors/packet-isup.c and - * "print_nsap_net_buf()" and "print_nsap_net()" in epan/osi=utils.c. + * "print_nsap_net()" in epan/osi=utils.c. */ void dissect_atm_nsap(tvbuff_t *tvb, packet_info* pinfo, int offset, int len, proto_tree *tree) diff --git a/epan/dissectors/packet-isup.c b/epan/dissectors/packet-isup.c index b11cabe69c..875ef71427 100644 --- a/epan/dissectors/packet-isup.c +++ b/epan/dissectors/packet-isup.c @@ -4148,7 +4148,7 @@ static const value_string iana_icp_values[] = { /* * XXX - shouldn't there be a centralized routine for dissecting NSAPs? * See also "dissect_atm_nsap()" in epan/dissectors/packet-arp.c and - * "print_nsap_net_buf()" and "print_nsap_net()" in epan/osi_utils.c. + * "print_nsap_net()" in epan/osi_utils.c. */ void dissect_nsap(tvbuff_t *parameter_tvb, gint offset, gint len, proto_tree *parameter_tree) diff --git a/epan/osi-utils.c b/epan/osi-utils.c index 58c86ba5cf..08816bb9c0 100644 --- a/epan/osi-utils.c +++ b/epan/osi-utils.c @@ -35,6 +35,9 @@ #include "address.h" #include "address_types.h" +static void print_nsap_net_buf( const guint8 *, int, gchar *, int); +static void print_area_buf ( const guint8 *, int, gchar *, int); + /* * XXX - shouldn't there be a centralized routine for dissecting NSAPs? * See also "dissect_atm_nsap()" in epan/dissectors/packet-arp.c and @@ -50,8 +53,7 @@ print_nsap_net( tvbuff_t *tvb, const gint offset, int length ) return( cur ); } -/* XXX - Should these be converted to string buffers? */ -void +static void print_nsap_net_buf( const guint8 *ad, int length, gchar *buf, int buf_len) { gchar *cur; @@ -150,7 +152,7 @@ print_area(tvbuff_t *tvb, const gint offset, int length) return cur; } -void +static void print_area_buf(const guint8 *ad, int length, gchar *buf, int buf_len) { gchar *cur; diff --git a/epan/osi-utils.h b/epan/osi-utils.h index a0b74e71a9..ddb1c75ca6 100644 --- a/epan/osi-utils.h +++ b/epan/osi-utils.h @@ -46,9 +46,7 @@ #define NSAP_IDI_GOSIP2 0x47 gchar* print_nsap_net ( tvbuff_t *, const gint, int ); -void print_nsap_net_buf( const guint8 *, int, gchar *, int); gchar* print_area ( tvbuff_t *, const gint, int ); -void print_area_buf ( const guint8 *, int, gchar *, int); gchar* print_system_id(wmem_allocator_t *, const guint8 *, int ); gchar* tvb_print_system_id( tvbuff_t *, const gint, int ); void print_system_id_buf( const guint8 *, int, gchar *, int); |