Ignore:
Timestamp:
Apr 12, 2010, 4:34:31 PM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
4d0771e
Parents:
5da993c0
Message:

Reflect termios API changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i386/shared/comm/uart.c

    r5da993c0 r2daa19f  
    572572}
    573573
    574 int
    575 BSP_uart_termios_write_com1(int minor, const char *buf, int len)
     574ssize_t
     575BSP_uart_termios_write_com1(int minor, const char *buf, size_t len)
    576576{
    577577  assert(buf != NULL);
     
    603603  }
    604604
    605   return 0;
    606 }
    607 
    608 int
    609 BSP_uart_termios_write_com2(int minor, const char *buf, int len)
     605  return 1;
     606}
     607
     608ssize_t
     609BSP_uart_termios_write_com2(int minor, const char *buf, size_t len)
    610610{
    611611  assert(buf != NULL);
     
    637637  }
    638638
    639   return 0;
     639  return 1;
    640640}
    641641
Note: See TracChangeset for help on using the changeset viewer.