move nixio__bin2hex to header and make static 4196/head
authorRosen Penev <rosenp@gmail.com>
Mon, 22 Jun 2020 02:48:54 +0000 (19:48 -0700)
committerRosen Penev <rosenp@gmail.com>
Mon, 22 Jun 2020 02:58:53 +0000 (19:58 -0700)
commit6555d3f587e485afb1676948d7a5868afac3aee8
treeda70f4769c5fa5e0c6346d8667bc28f41602a86e
parentb39754907ce904747bc03cd5f7b08d682f8fc5e3
move nixio__bin2hex to header and make static

This fixes compilation under GCC10.

There's no reason for this to be in a C file anyway.

Also fixed a -Wmissing-prototypes warning with nixio__addr_prefix.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
libs/luci-lib-nixio/src/address.c
libs/luci-lib-nixio/src/binary.c
libs/luci-lib-nixio/src/nixio.h