From c0f09c3515d7e264c81588cb3ea3f41edd0656ec Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Sun, 4 Aug 1996 20:22:27 +0000 Subject: [PATCH] Change HAVE_UTMPX_H to HAVE_UTMPX git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@618 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/login/utmp_login.c | 4 ++-- appl/login/utmpx_login.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/appl/login/utmp_login.c b/appl/login/utmp_login.c index ab5ff3c2b..592cc5883 100644 --- a/appl/login/utmp_login.c +++ b/appl/login/utmp_login.c @@ -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 */ } diff --git a/appl/login/utmpx_login.c b/appl/login/utmpx_login.c index cf7916c16..dd7351e62 100644 --- a/appl/login/utmpx_login.c +++ b/appl/login/utmpx_login.c @@ -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 */ }