forked from osmocom/wireshark
Fix for
[ 6%] Building C object epan/CMakeFiles/epan.dir/addr_resolv.c.o /home/jmayer/work/wireshark/svn/trunk/epan/addr_resolv.c:1927:1: error: unused function 'get_ipxnetbyname' [-Werror,-Wunused-function] get_ipxnetbyname(const gchar *name) ^ /home/jmayer/work/wireshark/svn/trunk/epan/addr_resolv.c:2009:1: error: unused function 'add_ipxnet_name' [-Werror,-Wunused-function] by #if 0/#endif the functions. If they really are not needed any more they should be removed. svn path=/trunk/; revision=51438
This commit is contained in:
parent
cb1bd182f2
commit
0f74dff2f9
|
@ -1923,6 +1923,8 @@ get_ipxnetent(void)
|
|||
|
||||
} /* get_ipxnetent */
|
||||
|
||||
/* Unused ??? */
|
||||
#if 0
|
||||
static ipxnet_t *
|
||||
get_ipxnetbyname(const gchar *name)
|
||||
{
|
||||
|
@ -1947,6 +1949,7 @@ get_ipxnetbyname(const gchar *name)
|
|||
return ipxnet;
|
||||
|
||||
} /* get_ipxnetbyname */
|
||||
#endif
|
||||
|
||||
static ipxnet_t *
|
||||
get_ipxnetbyaddr(guint32 addr)
|
||||
|
@ -2005,6 +2008,7 @@ ipx_name_lookup_cleanup(void)
|
|||
|
||||
}
|
||||
|
||||
#if 0
|
||||
static hashipxnet_t *
|
||||
add_ipxnet_name(guint addr, const gchar *name)
|
||||
{
|
||||
|
@ -2031,6 +2035,7 @@ add_ipxnet_name(guint addr, const gchar *name)
|
|||
return tp;
|
||||
|
||||
} /* add_ipxnet_name */
|
||||
#endif
|
||||
|
||||
static gchar *
|
||||
ipxnet_name_lookup(const guint addr)
|
||||
|
|
Loading…
Reference in New Issue