Print this page
8513 make: incomplete function cast in libbsd

@@ -19,10 +19,12 @@
  * CDDL HEADER END
  */
 /*
  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
  * Use is subject to license terms.
+ *
+ * Copyright 2017 RackTop Systems.
  */
 
 
 #include <signal.h>
 

@@ -46,11 +48,11 @@
 #else
   struct sigaction         new_action;
   struct sigaction         old_action;
 
   new_action.sa_flags = SA_SIGINFO;
-  new_action.sa_handler = (void (*) ()) Handler;
+  new_action.sa_handler = (void (*) (int)) Handler;
   (void) sigemptyset (&new_action.sa_mask);
   (void) sigaddset (&new_action.sa_mask, Signal);
 
   (void) sigaction (Signal, &new_action, &old_action);