do_pam_passwd should not have been defined static, prototypes.h needed

to be included instead.
This commit is contained in:
nekral-guest 2008-01-05 15:41:58 +00:00
parent 6cf5b05493
commit 5a4848c8cc

View File

@ -17,11 +17,9 @@
#include <sys/types.h>
#include "defines.h"
#include "pam_defs.h"
#include "prototypes.h"
/* local function prototypes */
static void do_pam_passwd (const char *user, int silent, int change_expired);
static void do_pam_passwd (const char *user, int silent, int change_expired)
void do_pam_passwd (const char *user, int silent, int change_expired)
{
pam_handle_t *pamh = NULL;
int flags = 0, ret;