change log for rtems (2011-06-17)
rtems-vc at rtems.org
rtems-vc at rtems.org
Fri Jun 17 13:11:57 UTC 2011
*sh*:
2011-06-17 Sebastian Huber <sebastian.huber at embedded-brains.de>
* libcsupport/include/rtems/libio.h, cpukit/libcsupport/src/termios.c:
Added const qualifier to rtems_termios_enqueue_raw_characters().
Removed superfluous cast.
M 1.2854 cpukit/ChangeLog
M 1.80 cpukit/libcsupport/include/rtems/libio.h
M 1.65 cpukit/libcsupport/src/termios.c
diff -u rtems/cpukit/ChangeLog:1.2853 rtems/cpukit/ChangeLog:1.2854
--- rtems/cpukit/ChangeLog:1.2853 Thu Jun 16 11:24:05 2011
+++ rtems/cpukit/ChangeLog Fri Jun 17 07:34:36 2011
@@ -1,3 +1,9 @@
+2011-06-17 Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+ * libcsupport/include/rtems/libio.h, cpukit/libcsupport/src/termios.c:
+ Added const qualifier to rtems_termios_enqueue_raw_characters().
+ Removed superfluous cast.
+
2011-06-16 Joel Sherrill <joel.sherrill at oarcorp.com>
PR 1818/misc
diff -u rtems/cpukit/libcsupport/include/rtems/libio.h:1.79 rtems/cpukit/libcsupport/include/rtems/libio.h:1.80
--- rtems/cpukit/libcsupport/include/rtems/libio.h:1.79 Fri Aug 27 12:32:59 2010
+++ rtems/cpukit/libcsupport/include/rtems/libio.h Fri Jun 17 07:34:37 2011
@@ -1647,7 +1647,7 @@
int rtems_termios_enqueue_raw_characters(
void *ttyp,
- char *buf,
+ const char *buf,
int len
);
diff -u rtems/cpukit/libcsupport/src/termios.c:1.64 rtems/cpukit/libcsupport/src/termios.c:1.65
--- rtems/cpukit/libcsupport/src/termios.c:1.64 Tue Aug 10 17:15:32 2010
+++ rtems/cpukit/libcsupport/src/termios.c Fri Jun 17 07:34:37 2011
@@ -636,7 +636,7 @@
rtems_status_code sc;
if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {
- (*tty->device.write)(tty->minor, (void *)buf, len);
+ (*tty->device.write)(tty->minor, buf, len);
return;
}
newHead = tty->rawOutBuf.Head;
@@ -1124,7 +1124,7 @@
* Returns the number of characters dropped because of overflow.
*/
int
-rtems_termios_enqueue_raw_characters (void *ttyp, char *buf, int len)
+rtems_termios_enqueue_raw_characters (void *ttyp, const char *buf, int len)
{
struct rtems_termios_tty *tty = ttyp;
unsigned int newTail;
--
Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20110617/0a6dd1bb/attachment-0001.html>
More information about the vc
mailing list