Skip to content

Commit

Permalink
SUNRPC: Add missing static declaration to _gss_mech_get_by_name
Browse files Browse the repository at this point in the history
Ditto for _gss_mech_get_by_pseudoflavor.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
  • Loading branch information
Trond Myklebust authored and Trond Myklebust committed Feb 1, 2013
1 parent 322b2b9 commit c5f5e9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions net/sunrpc/auth_gss/gss_mech_switch.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ gss_mech_get(struct gss_api_mech *gm)

EXPORT_SYMBOL_GPL(gss_mech_get);

struct gss_api_mech *
static struct gss_api_mech *
_gss_mech_get_by_name(const char *name)
{
struct gss_api_mech *pos, *gm = NULL;
Expand Down Expand Up @@ -205,7 +205,7 @@ mech_supports_pseudoflavor(struct gss_api_mech *gm, u32 pseudoflavor)
return 0;
}

struct gss_api_mech *_gss_mech_get_by_pseudoflavor(u32 pseudoflavor)
static struct gss_api_mech *_gss_mech_get_by_pseudoflavor(u32 pseudoflavor)
{
struct gss_api_mech *gm = NULL, *pos;

Expand Down

0 comments on commit c5f5e9c

Please sign in to comment.