[openib-general] Re: [PATH] [TRIVIAL] opensm/osm_pkey_rcv_ctrl.c: make local function static

Hal Rosenstock halr at voltaire.com
Fri Feb 3 03:53:30 PST 2006


On Thu, 2006-02-02 at 17:51, Sasha Khapyorsky wrote:
> Hi,
> 
> This makes local and "undercored" function static

Thanks. Applied.

-- Hal

> Signed-off-by: Sasha Khapyorsky <sashak at voltaire.com>
> 
> diff --git a/src/userspace/management/osm/opensm/osm_pkey_rcv_ctrl.c b/src/userspace/management/osm/opensm/osm_pkey_rcv_ctrl.c
> --- a/src/userspace/management/osm/opensm/osm_pkey_rcv_ctrl.c
> +++ b/src/userspace/management/osm/opensm/osm_pkey_rcv_ctrl.c
> @@ -49,7 +49,7 @@
>  
>  /**********************************************************************
>   **********************************************************************/
> -void
> +static void
>  __osm_pkey_rcv_ctrl_disp_callback(
>    IN  void *context,
>    IN  void *p_data )




More information about the general mailing list