diff options
author | Eric Blake <eblake@redhat.com> | 2012-02-28 18:03:03 +0400 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2012-02-28 18:03:03 +0400 |
commit | 580df3b6ae1acfa22c7dc03ca29c433090f86380 (patch) | |
tree | d059a93a0fffe7083cd55f998f511fad39a76c91 /winsup/cygwin/fhandler.h | |
parent | d783d46cca4d5c278e879a18574596b9a5e9e1d5 (diff) |
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.
Diffstat (limited to 'winsup/cygwin/fhandler.h')
-rw-r--r-- | winsup/cygwin/fhandler.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h index 605f59b61..3b186bd8b 100644 --- a/winsup/cygwin/fhandler.h +++ b/winsup/cygwin/fhandler.h @@ -383,7 +383,7 @@ public: virtual int tcgetattr (struct termios *t); virtual int tcsetpgrp (const pid_t pid); virtual int tcgetpgrp (); - virtual int tcgetsid (); + virtual pid_t tcgetsid (); virtual bool is_tty () const { return false; } virtual bool ispipe () const { return false; } virtual pid_t get_popen_pid () const {return 0;} @@ -1155,7 +1155,7 @@ class fhandler_termios: public fhandler_base virtual void __release_output_mutex (const char *fn, int ln) {} void echo_erase (int force = 0); virtual _off64_t lseek (_off64_t, int); - int tcgetsid (); + pid_t tcgetsid (); fhandler_termios (void *) {} |