From 23624ea6f78ec8acc167a2491c00998907fc76b1 Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Tue, 16 Aug 2005 12:27:38 +0000 Subject: Relevant BUGIDs: none Purpose of commit: new feature Commit summary: --------------- Big "automake/autoconf/libtool" commit --- modules/pam_filter/pam_filter.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'modules/pam_filter/pam_filter.c') diff --git a/modules/pam_filter/pam_filter.c b/modules/pam_filter/pam_filter.c index c03126ca..b34c8419 100644 --- a/modules/pam_filter/pam_filter.c +++ b/modules/pam_filter/pam_filter.c @@ -31,7 +31,7 @@ #define PAM_SM_PASSWORD #include -#include +#include "pam_filter.h" /* ------ some tokens used for convenience throughout this file ------- */ @@ -282,8 +282,9 @@ static void free_evp(char *evp[]) free(evp); } -static int set_filter(pam_handle_t *pamh, int flags, int ctrl - , const char **evp, const char *filtername) +static int +set_filter (pam_handle_t *pamh, int flags UNUSED, int ctrl, + const char **evp, const char *filtername) { int status=-1; char terminal[TERMINAL_LEN]; @@ -591,6 +592,7 @@ static int set_filter(pam_handle_t *pamh, int flags, int ctrl /* quit the parent process, returning the child's exit status */ exit(status); + return status; /* never reached, to make gcc happy */ } static int set_the_terminal(pam_handle_t *pamh) -- cgit v1.2.3