Skip to content

Commit

Permalink
array: declare static realloc in wireless and route
Browse files Browse the repository at this point in the history
  • Loading branch information
mtomaschewski committed Jun 14, 2023
1 parent 03e97e4 commit 2f86b73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/route.c
Expand Up @@ -1467,7 +1467,7 @@ ni_route_array_free(ni_route_array_t *nra)
}
extern ni_define_ptr_array_init(ni_route);
extern ni_define_ptr_array_destroy(ni_route);
extern ni_define_ptr_array_realloc(ni_route, NI_ROUTE_ARRAY_CHUNK);
static ni_define_ptr_array_realloc(ni_route, NI_ROUTE_ARRAY_CHUNK);
extern ni_define_ptr_array_append(ni_route);
extern ni_define_ptr_array_delete_at(ni_route);
extern ni_define_ptr_array_remove_at(ni_route);
Expand Down
2 changes: 1 addition & 1 deletion src/wireless.c
Expand Up @@ -2041,7 +2041,7 @@ ni_wireless_wep_key_array_destroy(char **array)
* Wireless network arrays
*/
extern ni_define_ptr_array_init(ni_wireless_network);
extern ni_define_ptr_array_realloc(ni_wireless_network, 1);
static ni_define_ptr_array_realloc(ni_wireless_network, 1);
extern ni_define_ptr_array_append(ni_wireless_network);
extern ni_define_ptr_array_destroy(ni_wireless_network);

Expand Down

0 comments on commit 2f86b73

Please sign in to comment.