* cygwin.din (utmpxname): Export.

* syscalls.cc (utmpxname): Create export alias to utmpname.
	* include/utmpx.h: Define ut_name and ut_xtime if not already defined.
	(utmpxname): Add prototype.
	* include/sys/utmp.h: Only define ut_name if not already defined.
	* include/cygwin/version.h: Bump API minor version.
This commit is contained in:
Corinna Vinschen
2005-03-03 22:08:12 +00:00
parent 33aca56322
commit 6b76b0c5d4
6 changed files with 26 additions and 2 deletions

View File

@@ -2597,6 +2597,7 @@ utmpname (const char *file)
utmp_file = strdup (file);
debug_printf ("New UTMP file: %s", utmp_file);
}
EXPORT_ALIAS (utmpname, utmpxname)
/* Note: do not make NO_COPY */
static struct utmp utmp_data_buf[16];