Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compiler warning in pam_test.c #169

Merged
merged 1 commit into from
Oct 24, 2018
Merged

Conversation

terop
Copy link
Contributor

@terop terop commented Oct 24, 2018

Compiler cannot find the declaration for pm_sm_authenticate and prints
the following warning:

pam_test.c:184:10: warning: implicit declaration of function ‘pam_sm_authenticate’;
did you mean ‘pam_authenticate’? [-Wimplicit-function-declaration]

Compiler cannot find the declaration for pm_sm_authenticate and prints
the following warning (split due to long line):
pam_test.c:184:10: warning: implicit declaration of function
‘pam_sm_authenticate’; did you mean ‘pam_authenticate’?
[-Wimplicit-function-declaration]
@terop
Copy link
Contributor Author

terop commented Oct 24, 2018

The function declaration could also be added by including the pam_modules.h header but then there is a warning about conflicting types for pam_get_user.

@klali
Copy link
Member

klali commented Oct 24, 2018

thanks, merging.

@klali klali merged commit 9341f34 into Yubico:master Oct 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants