diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2007-09-18 20:19:21 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2007-09-18 20:19:21 +0000 |
commit | 2ab5af315f756ae73e29b068fc14d031be5a62a2 (patch) | |
tree | 36eb0f96696456b8c2ab49770e6ec521cb9bcf76 /usr.sbin/wsmoused | |
parent | 8028b7d53bbd04ab9849c80402b8e20a40eb4630 (diff) |
use C99 explicit struct initializer instead of deprecated gcc 2.5
style. ok miod@ millert@
Diffstat (limited to 'usr.sbin/wsmoused')
-rw-r--r-- | usr.sbin/wsmoused/wsmoused.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/usr.sbin/wsmoused/wsmoused.c b/usr.sbin/wsmoused/wsmoused.c index a468b986ce4..bc90bb29b59 100644 --- a/usr.sbin/wsmoused/wsmoused.c +++ b/usr.sbin/wsmoused/wsmoused.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wsmoused.c,v 1.21 2007/04/10 22:37:17 miod Exp $ */ +/* $OpenBSD: wsmoused.c,v 1.22 2007/09/18 20:19:20 otto Exp $ */ /* * Copyright (c) 2001 Jean-Baptiste Marchand, Julien Montagne and Jerome Verdon @@ -82,17 +82,17 @@ int identify = FALSE; char *pidfile = "/var/run/wsmoused.pid"; mouse_t mouse = { - flags : 0, - portname : NULL, - proto : P_UNKNOWN, - baudrate : 1200, - old_baudrate : 1200, - rate : MOUSE_RATE_UNKNOWN, - resolution : MOUSE_RES_UNKNOWN, - zmap : 0, - wmode : 0, - mfd : -1, - clickthreshold : 500, /* 0.5 sec */ + .flags = 0, + .portname = NULL, + .proto = P_UNKNOWN, + .baudrate = 1200, + .old_baudrate = 1200, + .rate = MOUSE_RATE_UNKNOWN, + .resolution = MOUSE_RES_UNKNOWN, + .zmap = 0, + .wmode = 0, + .mfd = -1, + .clickthreshold = 500, /* 0.5 sec */ }; /* identify the type of a wsmouse supported mouse */ |