Use C99 designated initializers to cleanup driver_ops setup
authorJouni Malinen <jouni.malinen@atheros.com>
Fri, 17 Apr 2009 12:58:34 +0000 (15:58 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 17 Apr 2009 12:58:34 +0000 (15:58 +0300)
commitb08d177aad2898f18d4546b06a817db27be8dc1f
treeec5560e5d8a6a39544990616c5d53220913a17cc
parent61693eaa800a1087fe9f585ef30815f53cfe8e0e
Use C99 designated initializers to cleanup driver_ops setup

These driver wrappers use UNIX domain sockets and as such, won't be
built with Microsoft compiler. Consequently, use of C99-style designated
initializers can be used to make these files easier to maintain. Only
driver_ndis.c needs to support the old C89-style due to Microsoft
compiler not supporting newer C standard.
src/drivers/driver_privsep.c
src/drivers/driver_test.c