~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/auth_pam/auth_pam.cc

  • Committer: Monty Taylor
  • Date: 2009-01-30 07:26:44 UTC
  • mto: (779.7.3 devel)
  • mto: This revision was merged to the branch mainline in revision 823.
  • Revision ID: mordred@inaugust.com-20090130072644-j646itn82pwcfxus
Fixed solaris fixes on linux again.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
} auth_pam_userinfo;
19
19
 
20
20
extern "C"
21
 
static int auth_pam_talker(int num_msg,
22
 
#ifdef __sun
23
 
                           struct pam_message **msg,
24
 
#else
25
 
                           const struct pam_message **msg,
26
 
#endif
27
 
                           struct pam_response **resp,
28
 
                           void *appdata_ptr)
 
21
int auth_pam_talker(int num_msg,
 
22
#ifdef __sun
 
23
                    struct pam_message **msg,
 
24
#else
 
25
                    const struct pam_message **msg,
 
26
#endif
 
27
                    struct pam_response **resp,
 
28
                    void *appdata_ptr);
 
29
 
 
30
int auth_pam_talker(int num_msg,
 
31
#ifdef __sun
 
32
                    struct pam_message **msg,
 
33
#else
 
34
                    const struct pam_message **msg,
 
35
#endif
 
36
                    struct pam_response **resp,
 
37
                    void *appdata_ptr)
29
38
{
30
39
  auth_pam_userinfo *userinfo = (auth_pam_userinfo*)appdata_ptr;
31
40
  struct pam_response *response = 0;