diff options
author | Mike Yuan <me@yhndnzj.com> | 2024-04-29 09:46:32 +0200 |
---|---|---|
committer | Mike Yuan <me@yhndnzj.com> | 2024-04-29 10:33:17 +0200 |
commit | 767d817895d8da04cba526cb7ab890a3d2887f08 (patch) | |
tree | 8dbcc4452ea52588a4ebb0323ab8a2ac432b7458 /src/login/pam_systemd_loadkey.c | |
parent | mkosi: Ignore version from versioned dependencies in .SRCINFO (diff) | |
download | systemd-767d817895d8da04cba526cb7ab890a3d2887f08.tar.xz systemd-767d817895d8da04cba526cb7ab890a3d2887f08.zip |
pam_systemd_loadkey: add missing PAM_EXTERN
Diffstat (limited to '')
-rw-r--r-- | src/login/pam_systemd_loadkey.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/login/pam_systemd_loadkey.c b/src/login/pam_systemd_loadkey.c index 3b4e91124a..088fd355ef 100644 --- a/src/login/pam_systemd_loadkey.c +++ b/src/login/pam_systemd_loadkey.c @@ -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) { |