diff options
| author | donal.k.fellows@manchester.ac.uk <dkf> | 2004-05-27 13:18:51 (GMT) |
|---|---|---|
| committer | donal.k.fellows@manchester.ac.uk <dkf> | 2004-05-27 13:18:51 (GMT) |
| commit | e9f11a0277e93ee8a4110cf5e34b68472616d10c (patch) | |
| tree | 81621affdfd50f3451faa2c5568732111932e247 /unix/tclUnixTest.c | |
| parent | 257079d9b899c1f4c086193638856cb64857bf45 (diff) | |
| download | tcl-e9f11a0277e93ee8a4110cf5e34b68472616d10c.zip tcl-e9f11a0277e93ee8a4110cf5e34b68472616d10c.tar.gz tcl-e9f11a0277e93ee8a4110cf5e34b68472616d10c.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/tclUnixTest.c')
| -rw-r--r-- | unix/tclUnixTest.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/unix/tclUnixTest.c b/unix/tclUnixTest.c index 880e4fd..f3414f5 100644 --- a/unix/tclUnixTest.c +++ b/unix/tclUnixTest.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclUnixTest.c,v 1.16 2004/04/06 22:25:57 dgp Exp $ + * RCS: @(#) $Id: tclUnixTest.c,v 1.17 2004/05/27 13:18:55 dkf Exp $ */ #include "tclInt.h" @@ -81,7 +81,7 @@ static int TestalarmCmd _ANSI_ARGS_((ClientData dummy, Tcl_Interp *interp, int argc, CONST char **argv)); static int TestgotsigCmd _ANSI_ARGS_((ClientData dummy, Tcl_Interp *interp, int argc, CONST char **argv)); -static void AlarmHandler _ANSI_ARGS_(()); +static void AlarmHandler _ANSI_ARGS_((int signum)); /* *---------------------------------------------------------------------- @@ -671,7 +671,8 @@ TestalarmCmd(clientData, interp, argc, argv) */ static void -AlarmHandler() +AlarmHandler(signum) + int signum; { gotsig = "1"; } |
