Commit fd10bbeb authored by Mike Frysinger's avatar Mike Frysinger

lib: inet6: mark fix_v4_address static/const

This is only used in this file, so localize it.
parent c17ec950
......@@ -44,7 +44,7 @@
extern int h_errno; /* some netdb.h versions don't export this */
char * fix_v4_address(char *buf, struct in6_addr *in6)
static char *fix_v4_address(char *buf, const struct in6_addr *in6)
{
if (IN6_IS_ADDR_V4MAPPED(in6->s6_addr)) {
char *s =strchr(buf, '.');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment