Change HAVE_UTMPX_H to HAVE_UTMPX

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@618 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1996-08-04 20:22:27 +00:00
parent 98f762af80
commit c0f09c3515
2 changed files with 4 additions and 4 deletions

View File

@@ -6,7 +6,7 @@ RCSID("$Id$");
void utmp_login(char *tty, char *username, char *hostname)
{
#ifndef HAVE_UTMPX_H
#ifndef HAVE_UTMPX
struct utmp utmp;
struct hostent *he;
int fd;
@@ -81,5 +81,5 @@ void utmp_login(char *tty, char *username, char *hostname)
write(fd, (char *)&utmp, sizeof(struct utmp));
close(fd);
}
#endif /* HAVE_UTMPX_H */
#endif /* HAVE_UTMPX */
}

View File

@@ -9,7 +9,7 @@ RCSID("$Id$");
int
utmpx_login(char *line, char *user, char *host)
{
#ifndef HAVE_UTMPX_H
#ifndef HAVE_UTMPX
return 0;
#else
struct utmpx *ut;
@@ -43,5 +43,5 @@ utmpx_login(char *line, char *user, char *host)
}
endutxent();
return (ret);
#endif /* HAVE_UTMPX_H */
#endif /* HAVE_UTMPX */
}