login_access() is used in src/login.c, and defined in src/login_nopam.c

(which lacks a prototype). Move its prototype from src/login.c to
lib/prototypes.h.
This commit is contained in:
nekral-guest
2008-03-17 23:04:46 +00:00
parent e33e2b7d79
commit d94602add8
3 changed files with 10 additions and 2 deletions

View File

@@ -128,8 +128,6 @@ static void setup_tty (void);
static void check_flags (int, char *const *);
#ifndef USE_PAM
extern int login_access (const char *, const char *);
static struct faillog faillog;
static void bad_time_notify (void);