Date: Sun, 30 Nov 2008 10:34:56 +0100 From: Roman Divacky <rdivacky@freebsd.org> To: Eitan Adler <eitanadlerlist@gmail.com> Cc: freebsd-hackers@freebsd.org Subject: Re: minor change to src/usr.bin/window/wwend.c Message-ID: <20081130093456.GA89886@freebsd.org> In-Reply-To: <49320CCD.3020900@gmail.com> References: <49320CCD.3020900@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Nov 29, 2008 at 10:47:25PM -0500, Eitan Adler wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Fixes two errors when building with -ansi -Wall > > > - --- wwend.c.backup 2008-11-29 22:41:42.000000000 -0500 > +++ wwend.c 2008-11-29 22:46:08.000000000 -0500 > @@ -40,12 +40,14 @@ > "$FreeBSD: src/usr.bin/window/wwend.c,v 1.4 2001/05/17 09:38:49 > obrien Exp $"; > #endif /* not lint */ > > +#include <stdlib.h> > #include <signal.h> > #include "ww.h" > #include "tt.h" > > /*ARGSUSED*/ > - -wwend(exit) > +int > +wwend(int exit) > { > if (tt.tt_checkpoint) { > (void) alarm(0); please use -current, I already fixed this in -current a week or so ago...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081130093456.GA89886>