network: udp: fix unused function warning
commit6f1183624fd76bc5c0246f8c0891c478e13676b2
authorAlexandre Janniaux <ajanni@videolabs.io>
Wed, 8 Apr 2020 16:13:17 +0000 (8 18:13 +0200)
committerAlexandre Janniaux <ajanni@videolabs.io>
Sat, 2 May 2020 13:48:25 +0000 (2 15:48 +0200)
tree28d10db29cc595cb513ddfd188a6ad5988d46dc8
parent7418c568021777fbd1b8e1e941853b3344fd8ad8
network: udp: fix unused function warning

The function is not used when compiling on darwin platform, as the
usages follow the same conditional check.

See 84dc949e138f6231ba0c58572b7949ca4e5724a8 for reference.
src/network/udp.c