summaryrefslogtreecommitdiff
path: root/auth-pam.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-01-27 10:55:38 +1100
committerDamien Miller <djm@mindrot.org>2000-01-27 10:55:38 +1100
commit3e955e78fa7ff4c98306c5565533ae7c645e8233 (patch)
tree5d9af6ccf06c8eb0451173980babf74146535e92 /auth-pam.h
parent7d7c60d6e7b8439e1d3d6ad1a6ec39688228ac09 (diff)
Add const to suppress compiler warning
Diffstat (limited to 'auth-pam.h')
-rw-r--r--auth-pam.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/auth-pam.h b/auth-pam.h
index 1f3bc252..191d80ca 100644
--- a/auth-pam.h
+++ b/auth-pam.h
@@ -8,7 +8,7 @@ void finish_pam(void);
int auth_pam_password(struct passwd *pw, const char *password);
char **fetch_pam_environment(void);
int do_pam_account(char *username, char *remote_user);
-void do_pam_session(char *username, char *ttyname);
+void do_pam_session(char *username, const char *ttyname);
void do_pam_setcred();
void print_pam_messages(void);