summaryrefslogtreecommitdiff
path: root/src/headers/ip46-header
diff options
context:
space:
mode:
Diffstat (limited to 'src/headers/ip46-header')
-rw-r--r--src/headers/ip46-header4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/headers/ip46-header b/src/headers/ip46-header
index 4f0cf8c..ba310d3 100644
--- a/src/headers/ip46-header
+++ b/src/headers/ip46-header
@@ -27,8 +27,8 @@ struct ip46full_s
#define ip46full_is6(i) ((i)->is6)
#define ip46full_fmt(s, i) ((i)->is6 ? ip6_fmt(s, (i)->ip) : ip4_fmt(s, (i)->ip))
-extern unsigned int ip46full_scan (char const *, ip46full_t_ref) ;
-extern unsigned int ip46full_scanlist (ip46full_t_ref, unsigned int, char const *, unsigned int *) ;
+extern unsigned int ip46full_scan (char const *, ip46full_t *) ;
+extern unsigned int ip46full_scanlist (ip46full_t *, unsigned int, char const *, unsigned int *) ;
#define ip46full_from_ip4(i, ip4) (byte_copy((i)->ip, 4, ip4), byte_zero((i)->ip + 4, 12), (i)->is6 = 0)
#define ip46full_from_ip6(i, ip6) (byte_copy((i)->ip, 16, ip6), (i)->is6 = 1)