You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mt...@apache.org on 2011/07/15 08:51:33 UTC

svn commit: r1146979 - /commons/sandbox/runtime/trunk/src/main/native/os/unix/inetsock.c

Author: mturk
Date: Fri Jul 15 06:51:33 2011
New Revision: 1146979

URL: http://svn.apache.org/viewvc?rev=1146979&view=rev
Log:
Fix function prototype

Modified:
    commons/sandbox/runtime/trunk/src/main/native/os/unix/inetsock.c

Modified: commons/sandbox/runtime/trunk/src/main/native/os/unix/inetsock.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/unix/inetsock.c?rev=1146979&r1=1146978&r2=1146979&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/unix/inetsock.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/unix/inetsock.c Fri Jul 15 06:51:33 2011
@@ -31,7 +31,7 @@ ACR_INLINE(int) retain_sd(acr_sd_t *sd)
     return sd->s;
 }
 
-ACR_INLINE(void) release_sd(acr_sd_t *sd)
+ACR_INLINE(int) release_sd(acr_sd_t *sd)
 {
     if (AcrAtomic32Dec(&sd->refs) == 0) {
         /* Socket was closed while we were