]> git.openfabrics.org - ~shefty/libibverbs.git/commitdiff
Add "extern" to declarations for consistency
authorRoland Dreier <rolandd@cisco.com>
Thu, 26 Jan 2006 19:06:49 +0000 (19:06 +0000)
committerRoland Dreier <rolandd@cisco.com>
Thu, 9 Nov 2006 19:35:59 +0000 (11:35 -0800)
Signed-off-by: Roland Dreier <rolandd@cisco.com>
include/infiniband/verbs.h

index 142f9ddc76d3c9de6b1da734aa3d0fd18c020478..95becc626629c40aca0923847d4da6caae9bb9cc 100644 (file)
@@ -785,8 +785,8 @@ static inline int ibv_req_notify_cq(struct ibv_cq *cq, int solicited_only)
  * on return.  If ibv_create_srq() succeeds, then max_wr and max_sge
  * will always be at least as large as the requested values.
  */
-struct ibv_srq *ibv_create_srq(struct ibv_pd *pd,
-                              struct ibv_srq_init_attr *srq_init_attr);
+extern struct ibv_srq *ibv_create_srq(struct ibv_pd *pd,
+                                     struct ibv_srq_init_attr *srq_init_attr);
 
 /**
  * ibv_modify_srq - Modifies the attributes for the specified SRQ.
@@ -800,15 +800,15 @@ struct ibv_srq *ibv_create_srq(struct ibv_pd *pd,
  * IBV_SRQ_LIMIT to set the SRQ's limit and request notification when
  * the number of receives queued drops below the limit.
  */
-int ibv_modify_srq(struct ibv_srq *srq,
-                  struct ibv_srq_attr *srq_attr,
-                  enum ibv_srq_attr_mask srq_attr_mask);
+extern int ibv_modify_srq(struct ibv_srq *srq,
+                         struct ibv_srq_attr *srq_attr,
+                         enum ibv_srq_attr_mask srq_attr_mask);
 
 /**
  * ibv_destroy_srq - Destroys the specified SRQ.
  * @srq: The SRQ to destroy.
  */
-int ibv_destroy_srq(struct ibv_srq *srq);
+extern int ibv_destroy_srq(struct ibv_srq *srq);
 
 /**
  * ibv_post_srq_recv - Posts a list of work requests to the specified SRQ.