Changeset ce92867b in rtems for cpukit/libcsupport


Ignore:
Timestamp:
Feb 2, 2005, 12:06:18 AM (16 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
043329e
Parents:
1d386ff
Message:

2005-02-01 Joel Sherrill <joel@…>

  • libblock/include/rtems/bdbuf.h, libblock/include/rtems/ide_part_table.h, libblock/src/blkdev.c, libcsupport/include/rtems/termiostypes.h, libcsupport/src/termios.c, posix/macros/rtems/posix/cond.inl, posix/macros/rtems/posix/mutex.inl : Remove warnings.
Location:
cpukit/libcsupport
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libcsupport/include/rtems/termiostypes.h

    r1d386ff rce92867b  
    160160 * put a string to output ring buffer
    161161 */
    162 void rtems_termios_puts (const char *buf,
     162void rtems_termios_puts (const void *buf,
    163163                         int len,
    164164                         struct rtems_termios_tty *tty);
  • cpukit/libcsupport/src/termios.c

    r1d386ff rce92867b  
    627627 */
    628628void
    629 rtems_termios_puts (const char *buf, int len, struct rtems_termios_tty *tty)
    630 {
     629rtems_termios_puts (
     630  const void *_buf, int len, struct rtems_termios_tty *tty)
     631{
     632        const unsigned char *buf = _buf;
    631633        unsigned int newHead;
    632634        rtems_interrupt_level level;
     
    634636
    635637        if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {
    636                 (*tty->device.write)(tty->minor, buf, len);
     638                (*tty->device.write)(tty->minor, (void *)buf, len);
    637639                return;
    638640        }
     
    10331035                            /* XON should be sent now... */
    10341036                            (*tty->device.write)(tty->minor,
    1035                                                  &(tty->termios.c_cc[VSTART]),
    1036                                                  1);
     1037                                (void *)&(tty->termios.c_cc[VSTART]),
     1038                                1);
    10371039                          }
    10381040                          else if (tty->flow_ctrl & FL_MDRTS) {
     
    12161218                      tty->flow_ctrl |= FL_ISNTXOF;
    12171219                      (*tty->device.write)(tty->minor,
    1218                                            &(tty->termios.c_cc[VSTOP]),
    1219                                           1);
     1220                         (void *)&(tty->termios.c_cc[VSTOP]),
     1221                        1);
    12201222                    }
    12211223                  }
     
    12711273          /* XOFF should be sent now... */
    12721274          (*tty->device.write)(tty->minor,
    1273                                &(tty->termios.c_cc[VSTOP]), 1);
     1275                               (void *)&(tty->termios.c_cc[VSTOP]), 1);
    12741276
    12751277          rtems_interrupt_disable(level);
     
    12911293                 */
    12921294          (*tty->device.write)(tty->minor,
    1293                                &(tty->termios.c_cc[VSTART]), 1);
     1295                               (void *)&(tty->termios.c_cc[VSTART]), 1);
    12941296
    12951297          rtems_interrupt_disable(level);
Note: See TracChangeset for help on using the changeset viewer.