From: martynas Date: Wed, 16 Jul 2008 15:04:09 +0000 (+0000) Subject: ansify infnan example. sure millert@ X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=142f81923d4033473afb4ecf7ba0211a0b627564;p=openbsd ansify infnan example. sure millert@ --- diff --git a/lib/libm/man/infnan.3 b/lib/libm/man/infnan.3 index 79e23cb702c..072c8c6447c 100644 --- a/lib/libm/man/infnan.3 +++ b/lib/libm/man/infnan.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: infnan.3,v 1.9 2007/05/31 19:19:35 jmc Exp $ +.\" $OpenBSD: infnan.3,v 1.10 2008/07/16 15:04:09 martynas Exp $ .\" .\" Copyright (c) 1985, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)infnan.3 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: July 16 2008 $ .Dt INFNAN 3 .Os .Sh NAME @@ -150,8 +150,7 @@ ALTERNATIVE #include double -infnan(iarg) -int iarg; +infnan(int iarg) { switch (iarg) { case \0ERANGE: