diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2017-05-03 14:39:28 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2017-05-03 14:39:28 +0200 |
commit | 977a0f81d1e7dcd746fb22b3f972578e996e86d3 (patch) | |
tree | 0f4889d1b5ff604b8a7c8c83ae748e1f511b9a72 /staging/cli_bpdu.c | |
parent | a9f4431e0a205617bb316dbe459ac6188dd8b490 (diff) |
geoip: adjust geoip{4,6}_{city,region}_name prototypes for !HAVE_GEOIP
Make the return type make the functions for HAVE_GEOIP. This fixes GCC's
-Wdiscarded-qualifiers warnings when building without geoip support.
Fixes: 8fd19eefa46b ("geoip: Fix memory leak when using GeoIPRecord")
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'staging/cli_bpdu.c')
0 files changed, 0 insertions, 0 deletions