Only define `update' if we actually use utmpx

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@913 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1996-10-29 08:10:29 +00:00
parent 1dfbddf997
commit 97ce787dec

View File

@@ -6,6 +6,7 @@ RCSID("$Id$");
/* utmpx_login - update utmp and wtmp after login */
#ifdef HAVE_UTMPX
static
void
update(struct utmpx *ut, char *line, char *user, char *host)
@@ -25,6 +26,7 @@ update(struct utmpx *ut, char *line, char *user, char *host)
updwtmpx(WTMPX_FILE, ut);
#endif
}
#endif
int
utmpx_login(char *line, char *user, char *host)