forked from osmocom/wireshark
Don't define geoip_db_get_paths() unless we have GeoIP - we don't use it
unless it's defined. svn path=/trunk/; revision=46791
This commit is contained in:
parent
d520e82bd2
commit
d4b622de36
|
@ -596,11 +596,6 @@ geoip_db_lookup_ipv6(guint dbnum _U_, guint32 addr _U_, const char *not_found) {
|
|||
return not_found;
|
||||
}
|
||||
|
||||
gchar *
|
||||
geoip_db_get_paths(void) {
|
||||
return "";
|
||||
}
|
||||
|
||||
#endif /* HAVE_GEOIP */
|
||||
|
||||
/*
|
||||
|
|
|
@ -84,6 +84,8 @@ extern const char *geoip_db_lookup_ipv4(guint dbnum, guint32 addr, const char *n
|
|||
*/
|
||||
extern const char *geoip_db_lookup_ipv6(guint dbnum, struct e_in6_addr addr, const char *not_found);
|
||||
|
||||
#ifdef HAVE_GEOIP
|
||||
|
||||
/**
|
||||
* Get all configured paths
|
||||
*
|
||||
|
@ -91,4 +93,6 @@ extern const char *geoip_db_lookup_ipv6(guint dbnum, struct e_in6_addr addr, con
|
|||
*/
|
||||
extern gchar *geoip_db_get_paths(void);
|
||||
|
||||
#endif /* HAVE_GEOIP */
|
||||
|
||||
#endif /* __GEOIP_DB_H__ */
|
||||
|
|
Loading…
Reference in New Issue