forked from Imagelibrary/rtems
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:
@@ -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.
|
||||
|
||||
@@ -59,9 +59,9 @@ static char ttyname_buf[sizeof (_PATH_DEV) + MAXNAMLEN] = _PATH_DEV;
|
||||
* ttyname_r() - POSIX 1003.1b 4.7.2 - Demetermine Terminal Device Name
|
||||
*/
|
||||
int ttyname_r(
|
||||
int fd,
|
||||
char *name,
|
||||
int namesize
|
||||
int fd,
|
||||
char *name,
|
||||
size_t namesize
|
||||
)
|
||||
{
|
||||
struct stat sb;
|
||||
|
||||
Reference in New Issue
Block a user