Use C99 designated structure initializers.
No expected code change.
This commit is contained in:
parent
ccfe449828
commit
fd0b27a538
@ -13,7 +13,7 @@
|
|||||||
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
/* $OpenBSD: ws.c,v 1.64 2019/03/24 17:59:19 bru Exp $ */
|
/* $OpenBSD: ws.c,v 1.65 2020/09/13 10:26:31 matthieu Exp $ */
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
@ -83,19 +83,20 @@ static XF86ModuleVersionInfo VersionRec = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
_X_EXPORT XF86ModuleData wsModuleData = {
|
_X_EXPORT XF86ModuleData wsModuleData = {
|
||||||
&VersionRec,
|
.vers = &VersionRec,
|
||||||
SetupProc,
|
.setup = SetupProc,
|
||||||
TearDownProc
|
.teardown = TearDownProc
|
||||||
};
|
};
|
||||||
|
|
||||||
_X_EXPORT InputDriverRec WS = {
|
_X_EXPORT InputDriverRec WS = {
|
||||||
1,
|
.driverVersion = 1,
|
||||||
"ws",
|
.driverName = "ws",
|
||||||
NULL,
|
.Identify = NULL,
|
||||||
wsPreInit,
|
.PreInit = wsPreInit,
|
||||||
wsUnInit,
|
.UnInit = wsUnInit,
|
||||||
NULL,
|
.module = NULL,
|
||||||
0
|
.default_options = NULL,
|
||||||
|
.capabilities = 0
|
||||||
};
|
};
|
||||||
|
|
||||||
static pointer
|
static pointer
|
||||||
|
Loading…
Reference in New Issue
Block a user