diff --git a/plugins/sudoers/gram.c b/plugins/sudoers/gram.c index 301cf73ae..aa7117d19 100644 --- a/plugins/sudoers/gram.c +++ b/plugins/sudoers/gram.c @@ -762,7 +762,7 @@ new_member(char *name, int type) debug_return_ptr(m); } -struct sudo_digest * +static struct sudo_digest * new_digest(int digest_type, const char *digest_str) { struct sudo_digest *dig; diff --git a/plugins/sudoers/gram.y b/plugins/sudoers/gram.y index 8e3d95eca..da87b97cc 100644 --- a/plugins/sudoers/gram.y +++ b/plugins/sudoers/gram.y @@ -929,7 +929,7 @@ new_member(char *name, int type) debug_return_ptr(m); } -struct sudo_digest * +static struct sudo_digest * new_digest(int digest_type, const char *digest_str) { struct sudo_digest *dig;