diff options
author | Dmitry V. Levin <ldv@strace.io> | 2024-08-21 08:00:00 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2024-08-21 08:00:00 +0000 |
commit | 4d1d4f699551f395be065e60513eaf85f01b84e6 (patch) | |
tree | 8b0b0139fefd441815f5a5bbdebb29ef2b736873 /libpam | |
parent | 1ef2c9a2266f71639cf3c81bd5ee2031051a7cb4 (diff) | |
download | pam-4d1d4f699551f395be065e60513eaf85f01b84e6.tar.gz pam-4d1d4f699551f395be065e60513eaf85f01b84e6.tar.bz2 pam-4d1d4f699551f395be065e60513eaf85f01b84e6.zip |
Include pam_i18n.h where i18n definitions are required
Do not include <libintl.h> and other i18n stuff via config.h which is
included into every compilation unit, include "pam_i18n.h" explicitly
where necessary.
* configure.ac (AH_BOTTOM): Remove.
* libpam/pam_get_authtok.c: Include "pam_i18n.h".
* libpam/pam_item.c: Likewise.
* libpam/pam_strerror.c: Likewise.
* libpam_misc/misc_conv.c: Likewise.
* modules/pam_exec/pam_exec.c: Likewise.
* modules/pam_faillock/main.c: Likewise.
* modules/pam_faillock/pam_faillock.c: Likewise.
* modules/pam_lastlog/pam_lastlog.c: Likewise.
* modules/pam_limits/pam_limits.c: Likewise.
* modules/pam_mail/pam_mail.c: Likewise.
* modules/pam_mkhomedir/pam_mkhomedir.c: Likewise.
* modules/pam_pwhistory/pam_pwhistory.c: Likewise.
* modules/pam_selinux/pam_selinux.c: Likewise.
* modules/pam_selinux/pam_selinux_check.c: Likewise.
* modules/pam_timestamp/pam_timestamp.c: Likewise.
* modules/pam_unix/pam_unix_acct.c: Likewise.
* modules/pam_unix/pam_unix_passwd.c: Likewise.
* modules/pam_userdb/pam_userdb.c: Likewise.
Diffstat (limited to 'libpam')
-rw-r--r-- | libpam/pam_get_authtok.c | 1 | ||||
-rw-r--r-- | libpam/pam_item.c | 1 | ||||
-rw-r--r-- | libpam/pam_start.c | 1 | ||||
-rw-r--r-- | libpam/pam_strerror.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/libpam/pam_get_authtok.c b/libpam/pam_get_authtok.c index 7a38698a..c8973275 100644 --- a/libpam/pam_get_authtok.c +++ b/libpam/pam_get_authtok.c @@ -33,6 +33,7 @@ #include "pam_private.h" #include "pam_inline.h" +#include "pam_i18n.h" #include <security/pam_ext.h> diff --git a/libpam/pam_item.c b/libpam/pam_item.c index c3a5a3bd..2e43d767 100644 --- a/libpam/pam_item.c +++ b/libpam/pam_item.c @@ -6,6 +6,7 @@ #include "pam_private.h" #include "pam_inline.h" +#include "pam_i18n.h" #include <ctype.h> #include <stdlib.h> diff --git a/libpam/pam_start.c b/libpam/pam_start.c index ef9fdb02..97bc35b1 100644 --- a/libpam/pam_start.c +++ b/libpam/pam_start.c @@ -8,6 +8,7 @@ */ #include "pam_private.h" +#include "pam_i18n.h" #include <ctype.h> #include <stdlib.h> diff --git a/libpam/pam_strerror.c b/libpam/pam_strerror.c index 17c81945..37f1e3b2 100644 --- a/libpam/pam_strerror.c +++ b/libpam/pam_strerror.c @@ -32,6 +32,7 @@ */ #include "pam_private.h" +#include "pam_i18n.h" const char *pam_strerror(pam_handle_t *pamh UNUSED, int errnum) { |