You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by hi...@apache.org on 2007/01/22 21:36:09 UTC

svn commit: r498787 - /harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/sig/unix/hysiglinux.c

Author: hindessm
Date: Mon Jan 22 12:36:09 2007
New Revision: 498787

URL: http://svn.apache.org/viewvc?view=rev&rev=498787
Log:
Freebsd sigvec has different signature.

Modified:
    harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/sig/unix/hysiglinux.c

Modified: harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/sig/unix/hysiglinux.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/sig/unix/hysiglinux.c?view=diff&rev=498787&r1=498786&r2=498787
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/sig/unix/hysiglinux.c (original)
+++ harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/sig/unix/hysiglinux.c Mon Jan 22 12:36:09 2007
@@ -158,8 +158,11 @@
 /*                                                                   */
 /* Returns:                                                          */
 /*********************************************************************/
-int
-sigvec (int sig, const struct sigvec *invec, struct sigvec *outvec)
+#if defined(FREEBSD)
+int sigvec (int sig, struct sigvec *invec, struct sigvec *outvec)
+#else
+int sigvec (int sig, const struct sigvec *invec, struct sigvec *outvec)
+#endif
 {
   int i;
   int status;