git: pam_passwdqc: Raise WARNS to 3 and fix a number of warnings.

Sascha Wildner swildner at crater.dragonflybsd.org
Mon Mar 16 12:37:04 PDT 2015


commit 0d2441729275ede7d51401efb23290c089cb9794
Author: Sascha Wildner <saw at online.de>
Date:   Mon Mar 16 20:36:36 2015 +0100

    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 *.

Summary of changes:
 contrib/pam_passwdqc/pam_macros.h    | 51 +++++++++++++++++++-----------------
 contrib/pam_passwdqc/pam_passwdqc.c  |  4 +--
 lib/pam_module/pam_passwdqc/Makefile |  2 +-
 3 files changed, 30 insertions(+), 27 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0d2441729275ede7d51401efb23290c089cb9794


-- 
DragonFly BSD source repository



More information about the Commits mailing list