Changeset 608641e in rtems for cpukit/libcsupport/src/termios.c


Ignore:
Timestamp:
12/22/97 17:29:51 (25 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
c257ec4e
Parents:
2ab1b3a
Message:

Corrected prototypes for all termios console write driver entries to
properly reflect the const on the buffer pointer being passed in.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libcsupport/src/termios.c

    r2ab1b3a r608641e  
    112112        int             (*lastClose)(int major, int minor, void *arg);
    113113        int             (*read)(int minor);
    114         int             (*write)(int minor, char *buf, int len);
     114        int             (*write)(int minor, const char *buf, int len);
    115115};
    116116static struct rtems_termios_tty *ttyHead, *ttyTail;
     
    171171  int                      (*deviceLastClose)(int major, int minor, void *arg),
    172172  int                      (*deviceRead)(int minor),
    173   int                      (*deviceWrite)(int minor, char *buf, int len),
     173  int                      (*deviceWrite)(int minor, const char *buf, int len),
    174174  int                        deviceOutputUsesInterrupts
    175175  )
Note: See TracChangeset for help on using the changeset viewer.