(which lacks a prototype). Move its prototype from src/login.c to
lib/prototypes.h.
+2008-03-17 Nicolas François <nicolas.francois@centraliens.net>
+
+ * lib/prototypes.h, src/login.c: 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.
+
2008-03-17 Nicolas François <nicolas.francois@centraliens.net>
* src/gpasswd.c, src/groupmod.c: Compilation fix. gshadow_locked
const char *line,
const char *host);
+/* login_nopam.c */
+extern int login_access (const char *user, const char *from);
+
/* loginprompt.c */
extern void login_prompt (const char *, char *, int);
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);