Move PAM_NUM_ITEMS from openpam_impl.h to pam_constants.h so it

doesn't go stale again.

Sponsored by:	DARPA, NAI Labs


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@69 185d5e19-27fe-0310-9dcf-9bff6b9f3609
This commit is contained in:
Dag-Erling Smørgrav 2002-02-20 15:26:40 +00:00
parent 3d506282e3
commit 242138f031
2 changed files with 2 additions and 3 deletions

View file

@ -118,7 +118,8 @@ enum {
PAM_OLDAUTHTOK = 7,
PAM_RUSER = 8,
PAM_USER_PROMPT = 9,
PAM_AUTHTOK_PROMPT = 10 /* OpenPAM extension */
PAM_AUTHTOK_PROMPT = 10, /* OpenPAM extension */
PAM_NUM_ITEMS /* OpenPAM extension */
};
#ifdef __cplusplus

View file

@ -68,8 +68,6 @@ struct pam_chain {
pam_chain_t *next;
};
#define PAM_NUM_ITEMS 10
typedef struct pam_data pam_data_t;
struct pam_data {
char *name;