diff options
author | 2007-09-18 20:19:20 +0000 | |
---|---|---|
committer | 2007-09-18 20:19:20 +0000 | |
commit | b729828d735eed990b9a1dce15e449174404c9b0 (patch) | |
tree | 07b16347e8081a1973bd0255d1f8064303651bb2 | |
parent | As a temporary workaround, implement va_start not using (diff) | |
download | wireguard-openbsd-b729828d735eed990b9a1dce15e449174404c9b0.tar.xz wireguard-openbsd-b729828d735eed990b9a1dce15e449174404c9b0.zip |
use C99 explicit struct initializer instead of deprecated gcc 2.5
style. ok miod@ millert@
-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 */ |