Skip to content

Commit ba9b86d

Browse files
[Thread Tutorial] Mark unused func in skeleton
1 parent c236b6b commit ba9b86d

File tree

5 files changed

+2
-2
lines changed
  • examples/tutorials/thread_network

5 files changed

+2
-2
lines changed

examples/tutorials/thread_network/03_openthread/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
1919
#include <libtock/tock.h>
2020

2121
// helper utility demonstrating network config setup
22-
static void setNetworkConfiguration(otInstance* aInstance);
22+
static void __attribute__((unused)) setNetworkConfiguration(otInstance* aInstance);
2323

2424
// callback for Thread state change events
2525
static void stateChangeCallback(uint32_t flags, void* context);
2626

2727
// helper utility to print ip address
28-
static void print_ip_addr(otInstance* instance);
28+
static void __attribute__((unused)) print_ip_addr(otInstance* instance);
2929

3030
int main(__attribute__((unused)) int argc, __attribute__((unused)) char* argv[]) {
3131
// Initialize OpenThread instance.
-198 KB
Binary file not shown.
-252 KB
Binary file not shown.
-291 KB
Binary file not shown.
-393 KB
Binary file not shown.

0 commit comments

Comments
 (0)