aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2006-01-26 19:06:49 +0000
committerRoland Dreier <rolandd@cisco.com>2006-11-09 11:35:59 -0800
commitd8b1102b56fbde42e32d931dc4e0819520d9b15d (patch)
tree7075a5b8db377674711deeed00c2441021431b0a
parentee2ae43527c666bb758e376f242c578b914b82e9 (diff)
downloadlibibverbs-d8b1102b56fbde42e32d931dc4e0819520d9b15d.tar.gz
Add "extern" to declarations for consistency
Signed-off-by: Roland Dreier <rolandd@cisco.com>
-rw-r--r--include/infiniband/verbs.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/infiniband/verbs.h b/include/infiniband/verbs.h
index 142f9dd..95becc6 100644
--- a/include/infiniband/verbs.h
+++ b/include/infiniband/verbs.h
@@ -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.