Changeset 96406152 in rtems


Ignore:
Timestamp:
Oct 18, 2011, 2:37:47 PM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.11, 5, master
Children:
4ec8180
Parents:
5e9990b
Message:

2011-10-18 Ralf Corsépius <ralf.corsepius@…>

  • libcsupport/include/rtems/libio.h, libcsupport/src/termios.c: Use size_t for sizes.
Location:
cpukit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r5e9990b r96406152  
     12011-10-18      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * libcsupport/include/rtems/libio.h, libcsupport/src/termios.c:
     4        Use size_t for sizes.
     5
    162011-10-18      Ralf Corsépius <ralf.corsepius@rtems.org>
    27
  • cpukit/libcsupport/include/rtems/libio.h

    r5e9990b r96406152  
    16181618 */
    16191619rtems_status_code rtems_termios_bufsize (
    1620   int cbufsize,     /* cooked buffer size */
    1621   int raw_input,    /* raw input buffer size */
    1622   int raw_output    /* raw output buffer size */
     1620  size_t cbufsize,     /* cooked buffer size */
     1621  size_t raw_input,    /* raw input buffer size */
     1622  size_t raw_output    /* raw output buffer size */
    16231623);
    16241624
  • cpukit/libcsupport/src/termios.c

    r5e9990b r96406152  
    8383extern rtems_id rtems_termios_ttyMutex;
    8484
    85 static int rtems_termios_cbufsize = 256;
    86 static int rtems_termios_raw_input_size = 128;
    87 static int rtems_termios_raw_output_size = 64;
     85static size_t rtems_termios_cbufsize = 256;
     86static size_t rtems_termios_raw_input_size = 128;
     87static size_t rtems_termios_raw_output_size = 64;
    8888
    8989static rtems_task rtems_termios_rxdaemon(rtems_task_argument argument);
     
    433433
    434434rtems_status_code rtems_termios_bufsize (
    435   int cbufsize,
    436   int raw_input,
    437   int raw_output
     435  size_t cbufsize,
     436  size_t raw_input,
     437  size_t raw_output
    438438)
    439439{
Note: See TracChangeset for help on using the changeset viewer.