* libmisc/pam_pass.c: Define do_pam_passwd() as static and add its prototype.

* libmisc/log.c: Define dolastlog() as static and add its prototype.
* src/chage.c: Define isnum() as static and add its prototype.
This commit is contained in:
nekral-guest
2008-01-05 13:37:32 +00:00
parent b8ce324a66
commit 53b075a760
4 changed files with 19 additions and 3 deletions

View File

@@ -18,7 +18,10 @@
#include "defines.h"
#include "pam_defs.h"
void do_pam_passwd (const char *user, int silent, int change_expired)
/* 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)
{
pam_handle_t *pamh = NULL;
int flags = 0, ret;