summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--geoip.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/geoip.h b/geoip.h
index cdeef19..b1e2bb5 100644
--- a/geoip.h
+++ b/geoip.h
@@ -45,22 +45,22 @@ static inline int geoip_working(void)
return 0;
}
-static inline const char *geoip4_city_name(struct sockaddr_in *sa)
+static inline char *geoip4_city_name(struct sockaddr_in *sa)
{
return NULL;
}
-static inline const char *geoip6_city_name(struct sockaddr_in6 *sa)
+static inline char *geoip6_city_name(struct sockaddr_in6 *sa)
{
return NULL;
}
-static inline const char *geoip4_region_name(struct sockaddr_in *sa)
+static inline char *geoip4_region_name(struct sockaddr_in *sa)
{
return NULL;
}
-static inline const char *geoip6_region_name(struct sockaddr_in6 *sa)
+static inline char *geoip6_region_name(struct sockaddr_in6 *sa)
{
return NULL;
}