]> sjero.net Git - wget/blobdiff - src/progress.c
[svn] Don't cast return type of malloc/realloc. Assume ANSI C signal handlers.
[wget] / src / progress.c
index 04c7fc5cad831cf59ea96bf44ce6ab21395cdd82..28ad27de3a010e27b020e46ab926b9cb3b5a5eff 100644 (file)
@@ -36,9 +36,7 @@ so, delete this exception statement from your version.  */
 #ifdef HAVE_UNISTD_H
 # include <unistd.h>
 #endif
-#ifdef HAVE_SIGNAL_H
-# include <signal.h>
-#endif
+#include <signal.h>
 
 #include "wget.h"
 #include "progress.h"
@@ -956,7 +954,7 @@ bar_set_params (const char *params)
 }
 
 #ifdef SIGWINCH
-RETSIGTYPE
+void
 progress_handle_sigwinch (int sig)
 {
   received_sigwinch = 1;