1
0
mirror of https://github.com/systemd/systemd.git synced 2025-02-04 21:47:31 +03:00

pam_systemd_loadkey: add missing PAM_EXTERN

This commit is contained in:
Mike Yuan 2024-04-29 15:46:32 +08:00
parent b2173f50dc
commit 767d817895
No known key found for this signature in database
GPG Key ID: 417471C0A40F58B3

View File

@ -18,7 +18,7 @@
* This can be overridden by the keyname= parameter. */
static const char DEFAULT_KEYNAME[] = "cryptsetup";
_public_ int pam_sm_authenticate(
_public_ PAM_EXTERN int pam_sm_authenticate(
pam_handle_t *handle,
int flags,
int argc, const char **argv) {
@ -89,7 +89,7 @@ _public_ int pam_sm_authenticate(
return PAM_SUCCESS;
}
_public_ int pam_sm_setcred(
_public_ PAM_EXTERN int pam_sm_setcred(
pam_handle_t *handle,
int flags,
int argc, const char **argv) {