From 81e33e1f562ff6a8ab1c7fa921cad3290c705088 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Mon, 27 Jun 2016 06:00:11 -0600 Subject: [PATCH] new_digest was prototyped as static but not explicitly declared static. --- plugins/sudoers/gram.c | 2 +- plugins/sudoers/gram.y | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;