* dcrt0.cc: Fix copyright dates.

* winsup.h: Ditto.
	* syscalls.cc (_read): Move EXPORT_ALIAS to its rightful place.
This commit is contained in:
Corinna Vinschen
2011-02-22 09:17:57 +00:00
parent 60c04741a8
commit 12374d7d2f
4 changed files with 11 additions and 5 deletions

View File

@@ -907,6 +907,8 @@ read (int fd, void *ptr, size_t len)
return readv (fd, &iov, 1);
}
EXPORT_ALIAS (read, _read)
extern "C" ssize_t
pread (int fd, void *ptr, size_t len, _off64_t off)
{
@@ -937,8 +939,6 @@ pwrite (int fd, void *ptr, size_t len, _off64_t off)
return res;
}
EXPORT_ALIAS (read, _read)
extern "C" ssize_t
write (int fd, const void *ptr, size_t len)
{
@@ -3501,6 +3501,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 */