From ec17177082b6dbb50fd563d710e334111f764b37 Mon Sep 17 00:00:00 2001 From: redman Date: Fri, 13 Aug 1999 17:52:12 +0000 Subject: Fixed ANSI-style function definitions so that they work on K&R compilers properly. --- generic/tkEvent.c | 4 ++-- generic/tkSelect.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/generic/tkEvent.c b/generic/tkEvent.c index a72be72..91d4b55 100644 --- a/generic/tkEvent.c +++ b/generic/tkEvent.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkEvent.c,v 1.4 1999/04/16 01:51:13 stanton Exp $ + * RCS: @(#) $Id: tkEvent.c,v 1.5 1999/08/13 17:52:12 redman Exp $ */ #include "tkPort.h" @@ -421,7 +421,7 @@ Tk_DeleteGenericHandler(proc, clientData) */ void -TkEventInit(void) +TkEventInit _ANSI_ARGS_((void)) { ThreadSpecificData *tsdPtr = (ThreadSpecificData *) Tcl_GetThreadData(&dataKey, sizeof(ThreadSpecificData)); diff --git a/generic/tkSelect.c b/generic/tkSelect.c index bc7743f..b6061ad 100644 --- a/generic/tkSelect.c +++ b/generic/tkSelect.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkSelect.c,v 1.4 1999/06/03 18:50:46 stanton Exp $ + * RCS: @(#) $Id: tkSelect.c,v 1.5 1999/08/13 17:52:13 redman Exp $ */ #include "tkInt.h" @@ -924,7 +924,7 @@ Tk_SelectionCmd(clientData, interp, argc, argv) */ TkSelInProgress * -TkSelGetInProgress(void) +TkSelGetInProgress _ANSI_ARGS_((void)) { ThreadSpecificData *tsdPtr = (ThreadSpecificData *) Tcl_GetThreadData(&dataKey, sizeof(ThreadSpecificData)); -- cgit v0.12