tcgetsid: fix return type
* include/sys/termios.h (tcgetsid): Fix return type. * termios.cc (tcgetsid): Likewise. * fhandler_termios.cc (fhandler_termios::tcgetsid): Likewise. * fhandler.h (fhandler_base): Likewise. * fhandler.cc (fhandler_base::tcgetsid): Likewise.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/* fhandler_termios.cc
|
||||
|
||||
Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008, 2009,
|
||||
2010, 2011 Red Hat, Inc.
|
||||
2010, 2011, 2012 Red Hat, Inc.
|
||||
|
||||
This file is part of Cygwin.
|
||||
|
||||
@@ -401,7 +401,7 @@ fhandler_termios::sigflush ()
|
||||
tcflush (TCIFLUSH);
|
||||
}
|
||||
|
||||
int
|
||||
pid_t
|
||||
fhandler_termios::tcgetsid ()
|
||||
{
|
||||
if (myself->ctty != -1 && myself->ctty == tc ()->ntty)
|
||||
|
Reference in New Issue
Block a user