* 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

@@ -37,12 +37,7 @@
#include <time.h>
#include "defines.h"
#include <lastlog.h>
/* local function prototypes */
static void dolastlog (struct lastlog *ll,
const struct passwd *pw,
const char *line,
const char *host);
#include "prototypes.h"
/*
* dolastlog - create lastlog entry
@@ -51,7 +46,7 @@ static void dolastlog (struct lastlog *ll,
* UID is extracted from the global (struct passwd) entry and the
* TTY information is gotten from the (struct utmp).
*/
static void
void
dolastlog (struct lastlog *ll, const struct passwd *pw, const char *line,
const char *host)
{