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 @@
|
||||
/* termios.cc: termios for WIN32.
|
||||
|
||||
Copyright 1996, 1997, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
|
||||
2007, 2008, 2009, 2010, 2011 Red Hat, Inc.
|
||||
2007, 2008, 2009, 2010, 2011, 2012 Red Hat, Inc.
|
||||
|
||||
Written by Doug Evans and Steve Chamberlain of Cygnus Support
|
||||
dje@cygnus.com, sac@cygnus.com
|
||||
@@ -207,7 +207,7 @@ tcgetpgrp (int fd)
|
||||
return res;
|
||||
}
|
||||
|
||||
extern "C" int
|
||||
extern "C" pid_t
|
||||
tcgetsid (int fd)
|
||||
{
|
||||
int res;
|
||||
|
Reference in New Issue
Block a user