new_digest was prototyped as static but not explicitly declared

static.
This commit is contained in:
Todd C. Miller
2016-06-27 06:00:11 -06:00
parent 9cc354aae3
commit 81e33e1f56
2 changed files with 2 additions and 2 deletions

View File

@@ -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;

View File

@@ -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;