Revision 3f4cb3d3 qemu-char.c

b/qemu-char.c
754 754

  
755 755
#ifdef __sun__
756 756
/* Once Solaris has openpty(), this is going to be removed. */
757
int openpty(int *amaster, int *aslave, char *name,
758
            struct termios *termp, struct winsize *winp)
757
static int openpty(int *amaster, int *aslave, char *name,
758
                   struct termios *termp, struct winsize *winp)
759 759
{
760 760
        const char *slave;
761 761
        int mfd = -1, sfd = -1;
......
795 795
        return -1;
796 796
}
797 797

  
798
void cfmakeraw (struct termios *termios_p)
798
static void cfmakeraw (struct termios *termios_p)
799 799
{
800 800
        termios_p->c_iflag &=
801 801
                ~(IGNBRK|BRKINT|PARMRK|ISTRIP|INLCR|IGNCR|ICRNL|IXON);

Also available in: Unified diff