minor change to src/usr.bin/window/wwend.c

Roman Divacky rdivacky at freebsd.org
Sun Nov 30 01:39:41 PST 2008


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...


More information about the freebsd-hackers mailing list