diff options
Diffstat (limited to 'libpam/pam_tokens.h')
-rw-r--r-- | libpam/pam_tokens.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libpam/pam_tokens.h b/libpam/pam_tokens.h index fad30759..fcda7ec2 100644 --- a/libpam/pam_tokens.h +++ b/libpam/pam_tokens.h @@ -17,6 +17,9 @@ /* an array of actions */ +#ifndef LIBPAM_COMPILE +static +#endif const char * const _pam_token_actions[-_PAM_ACTION_UNDEF] = { "ignore", /* 0 */ "ok", /* -1 */ @@ -28,6 +31,9 @@ const char * const _pam_token_actions[-_PAM_ACTION_UNDEF] = { /* an array of possible return values */ +#ifndef LIBPAM_COMPILE +static +#endif const char * const _pam_token_returns[_PAM_RETURN_VALUES+1] = { "success", /* 0 */ "open_err", /* 1 */ @@ -41,7 +47,7 @@ const char * const _pam_token_returns[_PAM_RETURN_VALUES+1] = { "authinfo_unavail", /* 9 */ "user_unknown", /* 10 */ "maxtries", /* 11 */ - "new_authtok_reqd", /* 12 */ + "new_authtok_reqd", /* 12 */ "acct_expired", /* 13 */ "session_err", /* 14 */ "cred_unavail", /* 15 */ |