Changeset ae3c037 in rtems for c/src/lib/libcpu/arm


Ignore:
Timestamp:
Apr 30, 2010, 2:59:51 PM (10 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.10, 4.11, master
Children:
33d5f33
Parents:
536f2d2b
Message:

2010-04-30 Sebastian Huber <sebastian.huber@…>

  • at91rm9200/dbgu/dbgu.c, at91rm9200/usart/usart.c, pxa255/ffuart/ffuart.c: Fixed warnings due to Termios API change.
Location:
c/src/lib/libcpu/arm
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/arm/ChangeLog

    r536f2d2b rae3c037  
     12010-04-30      Sebastian Huber <sebastian.huber@embedded-brains.de>
     2
     3        * at91rm9200/dbgu/dbgu.c, at91rm9200/usart/usart.c,
     4        pxa255/ffuart/ffuart.c: Fixed warnings due to Termios API change.
     5
    162010-04-30      Sebastian Huber <sebastian.huber@embedded-brains.de>
    27
  • c/src/lib/libcpu/arm/at91rm9200/dbgu/dbgu.c

    r536f2d2b rae3c037  
    3333static int     dbgu_last_close(int major, int minor, void *arg);
    3434static int     dbgu_read(int minor);
    35 static int     dbgu_write(int minor, const char *buf, int len);
     35static ssize_t dbgu_write(int minor, const char *buf, size_t len);
    3636static void    dbgu_init(int minor);
    3737static void    dbgu_write_polled(int minor, char c);
     
    112112 * return 1 on success, -1 on error
    113113 */
    114 static int dbgu_write(int minor, const char *buf, int len)
     114static ssize_t dbgu_write(int minor, const char *buf, size_t len)
    115115{
    116116    int i, x;
  • c/src/lib/libcpu/arm/at91rm9200/usart/usart.c

    r536f2d2b rae3c037  
    3333static int     usart_last_close(int major, int minor, void *arg);
    3434static int     usart_read_polled(int minor);
    35 static int     usart_write_polled_support(int minor, const char *buf, int len);
     35static ssize_t usart_write_polled_support(int minor, const char *buf, size_t len);
    3636static void    usart_init(int minor);
    3737static void    usart_write_polled(int minor, char c);
     
    153153 * return 1 on success, -1 on error
    154154 */
    155 static int usart_write_polled_support(int minor, const char *buf, int len)
     155static ssize_t usart_write_polled_support(int minor, const char *buf, size_t len)
    156156{
    157157  at91rm9200_usart_regs_t *usart;
  • c/src/lib/libcpu/arm/pxa255/ffuart/ffuart.c

    r536f2d2b rae3c037  
    2626static int     ffuart_last_close(int major, int minor, void *arg);
    2727static int     ffuart_read(int minor);
    28 static int     ffuart_write(int minor, const char *buf, int len);
     28static ssize_t ffuart_write(int minor, const char *buf, size_t len);
    2929static void    ffuart_init(int minor);
    3030static void    ffuart_write_polled(int minor, char c);
     
    103103 * return 1 on success, -1 on error
    104104 */
    105 static int ffuart_write(int minor, const char *buf, int len)
    106 {
    107     int i, x;
     105static ssize_t ffuart_write(int minor, const char *buf, size_t len)
     106{
     107    size_t i, x;
    108108    char c;
    109109    console_tbl *console_entry;
Note: See TracChangeset for help on using the changeset viewer.