wpa_supplicant: Fix couple of C++ compiler errors with header files
authorRoshan Pius <rpius@google.com>
Thu, 21 Jan 2016 23:15:13 +0000 (15:15 -0800)
committerJouni Malinen <j@w1.fi>
Sat, 6 Feb 2016 13:26:48 +0000 (15:26 +0200)
commit0ae86f90430b38d4bfb2832585c31d3efa7f6b84
tree116cfcfd678a1ba4069dab58a903f56a5e4af80e
parent592790bf15da32efc00b5aa266242a3b4c736ede
wpa_supplicant: Fix couple of C++ compiler errors with header files

Need to include these headers in C++ files for adding a binder interface
to wpa_supplicant. So, fix the following C++ compiler errors in them:
1. Add explicit C-style casts in wpa_buf.h header.
2. Move the nested definition of wpa_driver_scan_ssid in driver.h
outside of wpa_driver_scan_params because it is used in another
structure below.

Signed-off-by: Roshan Pius <rpius@google.com>
src/drivers/driver.h
src/utils/wpabuf.h