Skip to content

config: fix wscons backend on NetBSD

Compiler gives warning:

../config/wscons.c: At top level:
../config/wscons.c:262:1: warning: no previous prototype for ‘config_wscons_init’ [-Wmissing-prototypes]
  262 | config_wscons_init(void)
      | ^~~~~~~~~~~~~~~~~~
../config/wscons.c:270:1: warning: no previous prototype for ‘config_wscons_fini’ [-Wmissing-prototypes]
  270 | config_wscons_fini(void)
      | ^~~~~~~~~~~~~~~~~~

Problem is: commit bcee84c3 wanted to enable wscons support on NetBSD, but only added compiling config/wscons.c, but didn't enable setting the CONFIG_WSCONS symbol, so it won't be called at all.

Fixes: bcee84c3 Signed-off-by: Enrico Weigelt, metux IT consult info@metux.net

Merge request reports

Loading