summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/termios_baudtable.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2011-12-14 08:50:49 +0000
committerSebastian Huber <sebastian.huber@embedded-brains.de>2011-12-14 08:50:49 +0000
commit40f8b21ef432b5854ad09881ab8fbcbee18cf9e1 (patch)
treea6c8302378fd9d34761e915720325ae82a7dfebd /cpukit/libcsupport/src/termios_baudtable.c
parentRegenerate. (diff)
downloadrtems-40f8b21ef432b5854ad09881ab8fbcbee18cf9e1.tar.bz2
2011-12-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/include/rtems/termiostypes.h, libcsupport/src/termios_baud2num.c, libcsupport/src/termios_baudtable.c, libcsupport/src/termios_num2baud.c, libcsupport/src/termios_setinitialbaud.c: Added const qualifier to baud associations. Fixed integer types.
Diffstat (limited to 'cpukit/libcsupport/src/termios_baudtable.c')
-rw-r--r--cpukit/libcsupport/src/termios_baudtable.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/cpukit/libcsupport/src/termios_baudtable.c b/cpukit/libcsupport/src/termios_baudtable.c
index 92d1c6b809..0f7c4995fd 100644
--- a/cpukit/libcsupport/src/termios_baudtable.c
+++ b/cpukit/libcsupport/src/termios_baudtable.c
@@ -10,14 +10,12 @@
*/
#ifdef HAVE_CONFIG_H
-#include "config.h"
+ #include "config.h"
#endif
-#include <sys/termios.h>
#include <rtems/termiostypes.h>
-#include <rtems/assoc.h>
-rtems_assoc_t termios_assoc_table[] = {
+const rtems_assoc_t rtems_termios_baud_table [] = {
{ "B0", 0, B0 },
{ "B50", 50, B50 },
{ "B75", 75, B75 },