dns: make expand_dns_name() an internal function
The expand_dns_name() function is not used outside of the DNS dissector (any more?). Remove the function declaration from the public header file, make the function internal. Change-Id: Ibba81fa68a0dfd195ca3bbfca3eca20c39cc01f4 Reviewed-on: https://code.wireshark.org/review/26698 Reviewed-by: Martin Kaiser <wireshark@kaiser.cx> Petri-Dish: Martin Kaiser <wireshark@kaiser.cx> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
29973ebeb6
commit
a4fdbdd9f0
|
@ -1148,7 +1148,7 @@ qname_labels_count(const guchar* name, guint name_len)
|
|||
* The string is allocated with wmem_packet_scope scope and does not need to be freed.
|
||||
* it will be automatically freed when the packet has been dissected.
|
||||
*/
|
||||
int
|
||||
static int
|
||||
expand_dns_name(tvbuff_t *tvb, int offset, int max_len, int dns_data_offset,
|
||||
const guchar **name, guint* name_len)
|
||||
{
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
|
||||
extern const value_string dns_classes[];
|
||||
|
||||
int expand_dns_name(tvbuff_t *, int, int, int, const guchar **, guint*);
|
||||
/* Just like expand_dns_name, but pretty-prints empty names. */
|
||||
int get_dns_name(tvbuff_t *, int, int, int, const guchar **, guint*);
|
||||
|
||||
|
|
Loading…
Reference in New Issue