OSSP CVS Repository

ossp - Check-in [5005]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 5005
Date: 2005-Feb-03 10:41:38 (local)
2005-Feb-03 09:41:38 (UTC)
User:rse
Branch:
Comment: Fix compile warnings related to sigaction()'s sa_handler.
Tickets:
Inspections:
Files:
ossp-pkg/l2/ChangeLog      1.21 -> 1.22     3 inserted, 0 deleted
ossp-pkg/l2/l2_ch_buffer.c      1.39 -> 1.40     1 inserted, 1 deleted
ossp-pkg/l2/l2_ch_pipe.c      1.32 -> 1.33     1 inserted, 1 deleted

ossp-pkg/l2/ChangeLog 1.21 -> 1.22

--- ChangeLog    2005/02/03 09:40:34     1.21
+++ ChangeLog    2005/02/03 09:41:38     1.22
@@ -10,6 +10,9 @@
   =========
 
   Changes between 0.9.9 and 0.9.10 (01-Feb-2005 to 03-Feb-2005)
+   
+    *) Fix compile warnings related to sigaction()'s sa_handler.
+       [Ralf S. Engelschall <rse@engelschall.com>]
 
     *) Add va_copy() Autoconf checks to make va_list copying portable.
        [Ralf S. Engelschall <rse@engelschall.com>]


ossp-pkg/l2/l2_ch_buffer.c 1.39 -> 1.40

--- l2_ch_buffer.c       2005/01/24 15:03:17     1.39
+++ l2_ch_buffer.c       2005/02/03 09:41:38     1.40
@@ -189,7 +189,7 @@
         /* initialize auto vars before using them */
         memset(&locact, 0, sizeof(locact));
 
-        locact.sa_handler = (void(*)())catchsignal;
+        locact.sa_handler = (void(*)(int))catchsignal;
         sigemptyset(&locact.sa_mask);
         locact.sa_flags = 0;
 


ossp-pkg/l2/l2_ch_pipe.c 1.32 -> 1.33

--- l2_ch_pipe.c 2005/01/24 15:03:17     1.32
+++ l2_ch_pipe.c 2005/02/03 09:41:38     1.33
@@ -309,7 +309,7 @@
     /* initialize auto vars before using them */
     memset(&locact, 0, sizeof(locact));
 
-    locact.sa_handler = (void(*)())catchsignal;
+    locact.sa_handler = (void(*)(int))catchsignal;
     sigemptyset(&locact.sa_mask);
     locact.sa_flags = 0;
 

CVSTrac 2.0.1