X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;ds=sidebyside;f=test%2Fworm.c;h=19d163475442383ff4230a7aebc5a4727d764e1a;hb=fd52bfa49753d67673ba8d7aef9239f5b16c1ad0;hp=0d2209915c96654b7f0706291b098556227ff9e0;hpb=32f1c9b1a0fdad8ac997c7a8ac9cb92c610b4336;p=ncurses.git diff --git a/test/worm.c b/test/worm.c index 0d220991..19d16347 100644 --- a/test/worm.c +++ b/test/worm.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 1998-2008,2012 Free Software Foundation, Inc. * + * Copyright (c) 1998-2012,2013 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -61,7 +61,7 @@ Options: traces will be dumped. The program stops and waits for one character of input at the beginning and end of the interval. - $Id: worm.c,v 1.63 2013/01/13 01:00:11 tom Exp $ + $Id: worm.c,v 1.64 2013/04/27 19:50:17 tom Exp $ */ #include @@ -217,7 +217,7 @@ cleanup(void) endwin(); } -static RETSIGTYPE +static void onsig(int sig GCC_UNUSED) { cleanup();