]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Make sshpam_password_change_required static.
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Mon, 20 Jan 2020 11:13:26 +0000 (12:13 +0100)
committerDarren Tucker <dtucker@dtucker.net>
Mon, 20 Jan 2020 23:39:49 +0000 (10:39 +1100)
sshpam_password_change_required is only used in auth-pam.c, so make it
static to prevent a mising prototype warning.

auth-pam.c

index ee9d2c7e935de1c00c150b7ada578f60a14e3752..856fdd40f948d273e2ed8c8fa3ac8abb69ed360d 100644 (file)
@@ -300,7 +300,7 @@ sshpam_chauthtok_ruid(pam_handle_t *pamh, int flags)
 # define pam_chauthtok(a,b)    (sshpam_chauthtok_ruid((a), (b)))
 #endif
 
-void
+static void
 sshpam_password_change_required(int reqd)
 {
        extern struct sshauthopt *auth_opts;