pam_passwdqc: Raise WARNS to 3 and fix a number of warnings.
authorSascha Wildner <saw@online.de>
Mon, 16 Mar 2015 19:36:36 +0000 (20:36 +0100)
committerSascha Wildner <saw@online.de>
Mon, 16 Mar 2015 19:36:36 +0000 (20:36 +0100)
commit0d2441729275ede7d51401efb23290c089cb9794
treebd5f3bbaca99a963597abd51c18c46d92258af3c
parent77fe9097fa638acf49f27a3747a3ed85f14a0f8c
pam_passwdqc: Raise WARNS to 3 and fix a number of warnings.

* Define _XOPEN_SOURCE correctly for DragonFly.

* Change macro functions into inline functions.

* Cast a const char * to char *.
contrib/pam_passwdqc/pam_macros.h
contrib/pam_passwdqc/pam_passwdqc.c
lib/pam_module/pam_passwdqc/Makefile