]> git.openfabrics.org - ~shefty/librdmacm.git/commitdiff
r7077: rdma_destroy_event_channel() should be a void, not return an int.
authorSean Hefty <sean.hefty@intel.com>
Wed, 10 May 2006 17:01:09 +0000 (17:01 +0000)
committerSean Hefty <sean.hefty@intel.com>
Wed, 10 May 2006 17:01:09 +0000 (17:01 +0000)
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
include/rdma/rdma_cma.h
src/cma.c

index 917f4344ed82195b9ae7fab0fcb14662869eb4ed..c402ea7f335738d2b5d80f967d21fed3c6763c89 100644 (file)
@@ -117,7 +117,7 @@ struct rdma_event_channel *rdma_create_event_channel();
  * rdma_destroy_event_channel - Close the event communication channel.
  * @channel: The communication channel to destroy.
  */
-int rdma_destroy_event_channel(struct rdma_event_channel *channel);
+void rdma_destroy_event_channel(struct rdma_event_channel *channel);
 
 /**
  * rdma_create_id - Allocate a communication identifier.
index 772dabd39c3a52c88d625bc20a6e6bda0608d79d..c84479df5f3d67204486ee63011eee48ec772d68 100644 (file)
--- a/src/cma.c
+++ b/src/cma.c
@@ -252,7 +252,7 @@ err:
        return NULL;
 }
 
-int rdma_destroy_event_channel(struct rdma_event_channel *channel)
+void rdma_destroy_event_channel(struct rdma_event_channel *channel)
 {
        close(channel->fd);
        free(channel);