Skip to content
This repository was archived by the owner on May 23, 2023. It is now read-only.

Commit 1e94358

Browse files
Juha Heiskanenjuhhei01
authored andcommitted
Fixed unitest build.
1 parent 3b9a4b0 commit 1e94358

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

test/nanostack/unittest/Bootstraps/protocol_6lowpan_bootstrap/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ TEST_SRC_FILES = \
4141
../../stub/pana_stub.c \
4242
../../stub/pana_client_stub.c \
4343
../../stub/net_load_balance_stub.c \
44+
../../stub/mac_neighbor_table_stub.c \
4445

4546
include ../../MakefileWorker.mk
4647

test/nanostack/unittest/Bootstraps/protocol_6lowpan_interface/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ TEST_SRC_FILES = \
2525
../../stub/cipv6_fragmenter_stub.c \
2626
../../stub/pana_stub.c \
2727
../../stub/net_load_balance_stub.c \
28+
../../stub/mac_neighbor_table_stub.c \
2829

2930
include ../../MakefileWorker.mk
3031

test/nanostack/unittest/nwk_interface/protocol_core/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ TEST_SRC_FILES = \
4949
../../stub/pan_blacklist_stub.c \
5050
../../stub/ipv6_routing_table_stub.c \
5151
../../stub/ipv6_stub.c \
52+
../../stub/mac_neighbor_table_stub.c \
5253

5354
include ../../MakefileWorker.mk
5455

test/nanostack/unittest/stub/mac_neighbor_table_stub.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,35 +27,35 @@
2727

2828
mac_neighbor_table_stub_def mac_neighbor_table_stub;
2929

30-
mac_neighbor_table__t *mac_neighbor_table_create(uint8_t table_size, neighbor_entry_remove_notify *remove_cb, neighbor_entry_nud_notify *nud_cb, void *user_indentifier, uint32_t nud_threshold)
30+
mac_neighbor_table_t *mac_neighbor_table_create(uint8_t table_size, neighbor_entry_remove_notify *remove_cb, neighbor_entry_nud_notify *nud_cb, void *user_indentifier, uint32_t nud_threshold)
3131
{
3232
return mac_neighbor_table_stub.test_class;
3333
}
3434

35-
void neighbor_table_neighbor_table_class_delete(mac_neighbor_table_t *table_class)
35+
void mac_neighbor_table_delete(mac_neighbor_table_t *table_class)
3636
{
3737

3838
}
3939

4040

41-
void neighbor_table_class_neighbor_list_clean(mac_neighbor_table_t *table_class)
41+
void mac_neighbor_table_neighbor_list_clean(mac_neighbor_table_t *table_class)
4242
{
4343

4444
}
4545

4646

47-
void neighbor_table_class_neighbor_timeout_update(mac_neighbor_table_t *table_class, uint32_t time_update)
47+
void mac_neighbor_table_neighbor_timeout_update(mac_neighbor_table_t *table_class, uint32_t time_update)
4848
{
4949

5050
}
5151

5252

53-
mac_neighbor_table_entry_t *neighbor_table_class_entry_allocate(mac_neighbor_table_t *table_class, const uint8_t *mac64)
53+
mac_neighbor_table_entry_t *mac_neighbor_table_entry_allocate(mac_neighbor_table_t *table_class, const uint8_t *mac64)
5454
{
5555
return mac_neighbor_table_stub.test_neigh;
5656
}
5757

58-
void neighbor_table_class_neighbor_remove(mac_neighbor_table_t *table_class, mac_neighbor_table_entry_t *neighbor_entry)
58+
void mac_neighbor_table_neighbor_remove(mac_neighbor_table_t *table_class, mac_neighbor_table_entry_t *neighbor_entry)
5959
{
6060

6161
}

0 commit comments

Comments
 (0)