]> granicus.if.org Git - sudo/commitdiff
new_digest was prototyped as static but not explicitly declared
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 27 Jun 2016 12:00:11 +0000 (06:00 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 27 Jun 2016 12:00:11 +0000 (06:00 -0600)
static.

plugins/sudoers/gram.c
plugins/sudoers/gram.y

index 301cf73aeab92778d2e76fe5bddd7384e304c028..aa7117d19f50e3ed49f5332c00a497cc76d5abc5 100644 (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;
index 8e3d95ecaa97de46b3a7301e6013ab91a2e38271..da87b97ccb0964d04bc9e60bc31b8fb7ba35000b 100644 (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;