diff options
Diffstat (limited to 'firmware/test/buflib')
-rw-r--r-- | firmware/test/buflib/test_main2.c | 4 | ||||
-rw-r--r-- | firmware/test/buflib/test_move2.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/firmware/test/buflib/test_main2.c b/firmware/test/buflib/test_main2.c index 9fed78612e..da6b1366e7 100644 --- a/firmware/test/buflib/test_main2.c +++ b/firmware/test/buflib/test_main2.c @@ -52,12 +52,12 @@ static int shrink_callback(int handle, unsigned hints, void* start, size_t size) return BUFLIB_CB_CANNOT_SHRINK; } -struct buflib_callbacks ops = { +static struct buflib_callbacks ops = { .move_callback = move_callback, .shrink_callback = shrink_callback, }; -struct buflib_callbacks ops2 = { +static struct buflib_callbacks ops2 = { .move_callback = NULL, .shrink_callback = shrink_callback, }; diff --git a/firmware/test/buflib/test_move2.c b/firmware/test/buflib/test_move2.c index 1076c27a50..2f72850b2b 100644 --- a/firmware/test/buflib/test_move2.c +++ b/firmware/test/buflib/test_move2.c @@ -80,7 +80,7 @@ struct buflib_callbacks ops = { .shrink_callback = NULL, }; -struct buflib_callbacks ops_no_move = { +static struct buflib_callbacks ops_no_move = { .move_callback = NULL, .shrink_callback = NULL, }; |