summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixChan.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2004-05-27 13:18:51 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2004-05-27 13:18:51 (GMT)
commitd63bdddac575b06d8dbaff5caf199f191258281a (patch)
tree81621affdfd50f3451faa2c5568732111932e247 /unix/tclUnixChan.c
parent4761295d5dc11e76a759fc26de4b30d09bccd1a5 (diff)
downloadtcl-d63bdddac575b06d8dbaff5caf199f191258281a.zip
tcl-d63bdddac575b06d8dbaff5caf199f191258281a.tar.gz
tcl-d63bdddac575b06d8dbaff5caf199f191258281a.tar.bz2
Made compiling with -Wstrict-prototypes -Wmissing-prototypes much cleaner.
Also added support for [FRQ 951168] but left that switched off by default.
Diffstat (limited to 'unix/tclUnixChan.c')
-rw-r--r--unix/tclUnixChan.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/unix/tclUnixChan.c b/unix/tclUnixChan.c
index 484b649..4a2e7b2 100644
--- a/unix/tclUnixChan.c
+++ b/unix/tclUnixChan.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclUnixChan.c,v 1.49 2004/05/04 03:52:28 andreas_kupries Exp $
+ * RCS: @(#) $Id: tclUnixChan.c,v 1.50 2004/05/27 13:18:54 dkf Exp $
*/
#include "tclInt.h" /* Internal definitions for Tcl. */
@@ -274,10 +274,14 @@ static int TtyCloseProc _ANSI_ARGS_((ClientData instanceData,
Tcl_Interp *interp));
static void TtyGetAttributes _ANSI_ARGS_((int fd,
TtyAttrs *ttyPtr));
+static int TtyGetBaud _ANSI_ARGS_((unsigned long speed));
static int TtyGetOptionProc _ANSI_ARGS_((ClientData instanceData,
Tcl_Interp *interp, CONST char *optionName,
Tcl_DString *dsPtr));
+static unsigned long TtyGetSpeed _ANSI_ARGS_((int baud));
static FileState * TtyInit _ANSI_ARGS_((int fd, int initialize));
+static void TtyModemStatusStr _ANSI_ARGS_((int status,
+ Tcl_DString *dsPtr));
#if BAD_TIP35_FLUSH
static int TtyOutputProc _ANSI_ARGS_((ClientData instanceData,
CONST char *buf, int toWrite, int *errorCode));