Fix driver_bsd.c build
authorMasashi Honma <honma@ictec.co.jp>
Mon, 7 Dec 2009 19:35:35 +0000 (21:35 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 7 Dec 2009 19:35:35 +0000 (21:35 +0200)
commit2a91091e154e99cb57f16a2f95fc90d9920c2907
treea236a4dfb3aabfed495b16e0387b2646d5dcbe21
parent803a811b7357881eea151bbde83928c012ce0a8e
Fix driver_bsd.c build

On NetBSD 5.0.1, driver_bsd.c build fails with message below.

../src/drivers/driver_bsd.c: In function 'wpa_driver_bsd_associate':
../src/drivers/driver_bsd.c:1170: warning: implicit declaration of function 'wpa_driver_bsd_set_auth_alg'
../src/drivers/driver_bsd.c: At top level:
../src/drivers/driver_bsd.c:1204: error: static declaration of 'wpa_driver_bsd_set_auth_alg' follows non-static declaration
../src/drivers/driver_bsd.c:1170: error: previous implicit declaration of 'wpa_driver_bsd_set_auth_alg' was here
gmake: *** [../src/drivers/driver_bsd.o] Error 1

This patch solves this issue.
src/drivers/driver_bsd.c