diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-11-10 04:34:39 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-11-10 04:34:39 +0000 |
commit | c6a1771e8804eda1225d4fe7e7ebb3ea61f4ff2b (patch) | |
tree | 47efb4787873dcda55dfc49d845f47ad76f54181 | |
parent | 7f396138d8def6ff4520097c3ff20a7112b36220 (diff) |
lint prompted cleanup
-rw-r--r-- | usr.sbin/ztsscale/ztsscale.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/ztsscale/ztsscale.c b/usr.sbin/ztsscale/ztsscale.c index b2eff2e9920..917be15cd7b 100644 --- a/usr.sbin/ztsscale/ztsscale.c +++ b/usr.sbin/ztsscale/ztsscale.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ztsscale.c,v 1.14 2007/06/17 10:07:30 robert Exp $ */ +/* $OpenBSD: ztsscale.c,v 1.15 2009/11/10 04:34:38 deraadt Exp $ */ /* * Copyright (c) 2005 Matthieu Herrb @@ -158,7 +158,8 @@ cleanup(void) restore_screen(); wmcoords.samplelen = orawmode; - if (wmcoords.samplelen != -1 && ioctl(mfd, WSMOUSEIO_SCALIBCOORDS, &wmcoords) < 0) + if (wmcoords.samplelen != -1 && + ioctl(mfd, WSMOUSEIO_SCALIBCOORDS, &wmcoords) < 0) err(1, "WSMOUSEIO_SCALIBCOORDS"); close(mfd); @@ -173,12 +174,12 @@ sighandler(int sig) _exit(2); } +/*ARGSUSED*/ int main(int argc, char *argv[]) { int i, x[5], y[5]; double a, a1, a2, b, b1, b2, xerr, yerr; - size_t oldsize; struct ztsscale { int ts_minx; int ts_maxx; |