[openib-general] [PATCH] kDAPL: add a couple more static

Tom Duffy tduffy at sun.com
Thu Jun 23 12:41:41 PDT 2005


Signed-off-by: Tom Duffy <tduffy at sun.com>

Index: linux-kernel-static/dat-provider/dapl_cr.c
===================================================================
--- linux-kernel-static/dat-provider/dapl_cr.c	(revision 2695)
+++ linux-kernel-static/dat-provider/dapl_cr.c	(working copy)
@@ -41,7 +41,7 @@
 /*
  * Create a CR. Part of the passive side of a connection
  */
-struct dapl_cr *dapl_cr_alloc(struct dapl_ia *ia)
+static struct dapl_cr *dapl_cr_alloc(struct dapl_ia *ia)
 {
 	struct dapl_cr *cr;
 
@@ -305,9 +305,9 @@ static u32 dapl_connection_request(struc
  * up resources and obtain the EP pointer associated with a CR in
  * the SP.
  */
-struct dapl_ep *dapl_get_sp_ep(struct dapl_cm_ctx *cm_ctx,
-			       struct dapl_sp *sp,
-			       enum dat_event_number event)
+static struct dapl_ep *dapl_get_sp_ep(struct dapl_cm_ctx *cm_ctx,
+				      struct dapl_sp *sp,
+				      enum dat_event_number event)
 {
 	struct dapl_cr *cr;
 	struct dapl_ep *ep;




More information about the general mailing list