Date: Sat, 29 Nov 2008 22:47:25 -0500 From: Eitan Adler <eitanadlerlist@gmail.com> To: freebsd-hackers@freebsd.org Subject: minor change to src/usr.bin/window/wwend.c Message-ID: <49320CCD.3020900@gmail.com>
next in thread | raw e-mail | index | archive | help
-----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); -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkkyDM0ACgkQtl8kq+nCzNF7HgCdG5jqCJA8gX8nCIsraqw2zCqV bEEAoJPg7I3iy/Zv8yDjcSe5bniEvoKs =pcgY -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49320CCD.3020900>