forked from Imagelibrary/rtems
2011-10-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/termios.c, libcsupport/include/rtems/termiostypes.h (rtems_termios_puts): Use size_t for buffer size.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2011-10-11 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* libcsupport/src/termios.c,
|
||||
libcsupport/include/rtems/termiostypes.h (rtems_termios_puts):
|
||||
Use size_t for buffer size.
|
||||
|
||||
2011-10-10 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* libfs/src/devfs/devfs_mknod.c: Remove const cast.
|
||||
|
||||
@@ -164,7 +164,7 @@ void rtems_termios_rxirq_occured(struct rtems_termios_tty *tty);
|
||||
*/
|
||||
void rtems_termios_puts (
|
||||
const void *buf,
|
||||
int len,
|
||||
size_t len,
|
||||
struct rtems_termios_tty *tty
|
||||
);
|
||||
|
||||
|
||||
@@ -628,7 +628,7 @@ rtems_termios_ioctl (void *arg)
|
||||
*/
|
||||
void
|
||||
rtems_termios_puts (
|
||||
const void *_buf, int len, struct rtems_termios_tty *tty)
|
||||
const void *_buf, size_t len, struct rtems_termios_tty *tty)
|
||||
{
|
||||
const unsigned char *buf = _buf;
|
||||
unsigned int newHead;
|
||||
|
||||
Reference in New Issue
Block a user