Bug 313 - aixauth_cleanup missing declaration
aixauth_cleanup missing declaration
Status: RESOLVED FIXED
Product: Sudo
Classification: Unclassified
Component: Sudo
1.7.0
IBM AIX
: low normal
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-11-17 20:21 MST by Dale King
Modified: 2008-11-18 07:55 MST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dale King 2008-11-17 20:21:10 MST
Hi,

I received a compile error with 1.7.0rc5 and CVS under AIX:

make
        /usr/vac/bin/cc -qlanglvl=ansi -c -I. -I.   -D_XOPEN_EXTENDED_SOURCE -D_ALL_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" 

-DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440  ./auth/sudo_auth.c
"./auth/sudo_auth.c", line 61.5: 1506-045 (S) Undeclared identifier aixauth_cleanup.
make: 1254-004 The error code from the last command is 1.



The following fixes this for me:



*** auth/sudo_auth.h.orig       Tue Nov 18 12:15:20 2008
--- auth/sudo_auth.h    Tue Nov 18 12:15:20 2008
***************
*** 58,61 ****
--- 58,62 ----
  int sia_verify __P((struct passwd *pw, char *prompt, sudo_auth *auth));
  int sia_cleanup __P((struct passwd *pw, sudo_auth *auth));
+ int aixauth_cleanup __P((struct passwd *pw, sudo_auth *auth));
  int aixauth_verify __P((struct passwd *pw, char *pass, sudo_auth *auth));
  int bsdauth_init __P((struct passwd *pw, char **prompt, sudo_auth *auth));

Regards,
Dale
Comment 1 Todd C. Miller 2008-11-18 07:55:42 MST
Thanks, fixed in cvs.