From 4a0b3469269df05f190b568b5be24e9a95b9e41d Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 22 Jun 2012 14:45:11 +0200 Subject: Make gp_import_gssx_cred() static, it is not used outside this file. Guenther Signed-off-by: Simo Sorce --- proxy/src/gp_export.c | 2 +- proxy/src/gp_export.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'proxy/src') diff --git a/proxy/src/gp_export.c b/proxy/src/gp_export.c index 8b9ee24..c286e6d 100644 --- a/proxy/src/gp_export.c +++ b/proxy/src/gp_export.c @@ -357,7 +357,7 @@ done: return ret_maj; } -int gp_import_gssx_cred(octet_string *in, gss_cred_id_t *out) +static int gp_import_gssx_cred(octet_string *in, gss_cred_id_t *out) { if (in) { memcpy(out, in->octet_string_val, sizeof(gss_cred_id_t)); diff --git a/proxy/src/gp_export.h b/proxy/src/gp_export.h index 0bf76b5..9f18956 100644 --- a/proxy/src/gp_export.h +++ b/proxy/src/gp_export.h @@ -34,7 +34,6 @@ struct gp_service; uint32_t gp_export_gssx_cred(uint32_t *min, struct gp_service *svc, gss_cred_id_t *in, gssx_cred *out); -int gp_import_gssx_cred(octet_string *in, gss_cred_id_t *out); int gp_find_cred(struct gp_service *svc, gssx_cred *cred, gss_cred_id_t *out); int gp_get_exported_context_type(struct gssx_call_ctx *ctx); -- cgit