* lib/prototypes.h: Add the dolastlog() prototype.

* lib/prototypes.h: Typo: login.c -> loginprompt.c
* src/login.c: Remove declaration of dolastlog().
* libmisc/log.c: dolastlog() should not have been changed to static.
  Include prototypes.h instead.
This commit is contained in:
nekral-guest
2008-01-05 16:44:28 +00:00
parent db0dddc6e9
commit 462be08456
4 changed files with 18 additions and 17 deletions

View File

@ -99,7 +99,13 @@ extern char **dup_list (char *const *);
extern int is_on_list (char *const *, const char *);
extern char **comma_to_list (const char *);
/* login.c */
/* log.c */
extern void dolastlog (struct lastlog *ll,
const struct passwd *pw,
const char *line,
const char *host);
/* loginprompt.c */
extern void login_prompt (const char *, char *, int);
/* mail.c */