summaryrefslogtreecommitdiffstats
path: root/sesman/verify_user_pam.c
diff options
context:
space:
mode:
Diffstat (limited to 'sesman/verify_user_pam.c')
-rw-r--r--sesman/verify_user_pam.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sesman/verify_user_pam.c b/sesman/verify_user_pam.c
index 19c76a06..15174c24 100644
--- a/sesman/verify_user_pam.c
+++ b/sesman/verify_user_pam.c
@@ -50,7 +50,7 @@ struct t_auth_info
};
/******************************************************************************/
-static int DEFAULT_CC
+static int
verify_pam_conv(int num_msg, const struct pam_message **msg,
struct pam_response **resp, void *appdata_ptr)
{
@@ -86,7 +86,7 @@ verify_pam_conv(int num_msg, const struct pam_message **msg,
}
/******************************************************************************/
-static void DEFAULT_CC
+static void
get_service_name(char *service_name)
{
service_name[0] = 0;
@@ -105,7 +105,7 @@ get_service_name(char *service_name)
/* returns long, zero is no go
Stores the detailed error code in the errorcode variable*/
-long DEFAULT_CC
+long
auth_userpass(const char *user, const char *pass, int *errorcode)
{
int error;
@@ -179,7 +179,7 @@ auth_userpass(const char *user, const char *pass, int *errorcode)
/******************************************************************************/
/* returns error */
-int DEFAULT_CC
+int
auth_start_session(long in_val, int in_display)
{
struct t_auth_info *auth_info;
@@ -220,7 +220,7 @@ auth_start_session(long in_val, int in_display)
/******************************************************************************/
/* returns error */
-int DEFAULT_CC
+int
auth_stop_session(long in_val)
{
struct t_auth_info *auth_info;
@@ -241,7 +241,7 @@ auth_stop_session(long in_val)
/******************************************************************************/
/* returns error */
/* cleanup */
-int DEFAULT_CC
+int
auth_end(long in_val)
{
struct t_auth_info *auth_info;
@@ -274,7 +274,7 @@ auth_end(long in_val)
/******************************************************************************/
/* returns error */
/* set any pam env vars */
-int DEFAULT_CC
+int
auth_set_env(long in_val)
{
struct t_auth_info *auth_info;