Skip to content

Commit cebdaf4

Browse files
author
Arto Kinnunen
authored
Update stoip6 prototype to tests (ARMmbed#1851)
1 parent cca9879 commit cebdaf4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

test/nanostack/unittest/stub/ip6tos_stub.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,16 @@ uint_fast8_t ip6_prefix_tos(const void *prefix, uint_fast8_t prefix_len, char *p
2828
return 0;
2929
}
3030

31-
void stoip6(const char *ip6addr, size_t len, void *dest)
31+
bool stoip6(const char *ip6addr, size_t len, void *dest)
3232
{
3333
}
3434

3535
unsigned char sipv6_prefixlength(const char *ip6addr)
3636
{
3737
return 0;
3838
}
39+
40+
int stoip6_prefix(const char *ip6addr, void *dest, int_fast16_t *prefix_len_out)
41+
{
42+
return 0;
43+
}

0 commit comments

Comments
 (0)