2008-11-07 Joel Sherrill <joel.sherrill@oarcorp.com>

* libcsupport/src/ttyname.c: Change third parameter of ttyname to be
	size_t instead of int.
This commit is contained in:
Joel Sherrill
2008-11-07 16:56:40 +00:00
parent 1fa78236b7
commit 2e500def76
2 changed files with 8 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
2008-11-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/ttyname.c: Change third parameter of ttyname to be
size_t instead of int.
2008-11-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* librpc/src/xdr/xdr_float.c: Add M32C, M32R, and Blackfin.

View File

@@ -61,7 +61,7 @@ static char ttyname_buf[sizeof (_PATH_DEV) + MAXNAMLEN] = _PATH_DEV;
int ttyname_r(
int fd,
char *name,
int namesize
size_t namesize
)
{
struct stat sb;