bde5d076f9
- readd PAM_EXTERN for external PAM modules OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=155
29 lines
1.0 KiB
Diff
29 lines
1.0 KiB
Diff
From 6b12a20c527cb6ced5b8911ea0f1dcdfc6e6f30c Mon Sep 17 00:00:00 2001
|
|
From: Thorsten Kukuk <kukuk@thkukuk.de>
|
|
Date: Tue, 29 Mar 2016 14:17:34 +0200
|
|
Subject: [PATCH 2/2] PAM_EXTERN isn't needed anymore, but don't remove it to
|
|
not break lot of external code using it.
|
|
|
|
* libpam/include/security/pam_modules.h: Readd PAM_EXTERN for compatibility
|
|
---
|
|
libpam/include/security/pam_modules.h | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
diff --git a/libpam/include/security/pam_modules.h b/libpam/include/security/pam_modules.h
|
|
index 37568e9..ec65e3e 100644
|
|
--- a/libpam/include/security/pam_modules.h
|
|
+++ b/libpam/include/security/pam_modules.h
|
|
@@ -75,6 +75,9 @@ int pam_sm_chauthtok(pam_handle_t *pamh, int flags,
|
|
|
|
#define PAM_DATA_REPLACE 0x20000000 /* used when replacing a data item */
|
|
|
|
+/* PAM_EXTERN isn't needed anymore, but don't remove it to not break
|
|
+ lot of external code using it. */
|
|
+#define PAM_EXTERN extern
|
|
|
|
/* take care of any compatibility issues */
|
|
#include <security/_pam_compat.h>
|
|
--
|
|
1.8.5.6
|
|
|