fix -Wduplicate-decl-specifier warnings
authorAndre Heider <a.heider@gmail.com>
Wed, 23 Nov 2022 13:11:58 +0000 (14:11 +0100)
committerJo-Philipp Wich <jo@mein.io>
Thu, 15 Dec 2022 19:07:49 +0000 (20:07 +0100)
commit462b6797161ead37dfcc85995d8286f9c4d5eb18
tree9f8956e9a57bfc55bd70e0b514e5cdc9ff33277d
parentccaabb4ea4b11382bffd9fb05558c390c1eb70c4
fix -Wduplicate-decl-specifier warnings

include/iwinfo.h:209:19: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
  209 | static const char const *ht_secondary_offset[4] = {
      |                   ^~~~~

Constify and move the offenders out of the header.

Signed-off-by: Andre Heider <a.heider@gmail.com>
include/iwinfo.h
iwinfo_lib.c