* 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:
@@ -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];
|
||||
|
Reference in New Issue
Block a user