summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorredman <redman>1999-08-13 17:52:12 (GMT)
committerredman <redman>1999-08-13 17:52:12 (GMT)
commitec17177082b6dbb50fd563d710e334111f764b37 (patch)
tree14a7fc1c3b75d6a18f1e02160b52a88adbb0b1ef
parent695a88985b7f26bab2489e56ffc3cf941abcccd8 (diff)
downloadtk-ec17177082b6dbb50fd563d710e334111f764b37.zip
tk-ec17177082b6dbb50fd563d710e334111f764b37.tar.gz
tk-ec17177082b6dbb50fd563d710e334111f764b37.tar.bz2
Fixed ANSI-style function definitions so that they work on K&R
compilers properly.
-rw-r--r--generic/tkEvent.c4
-rw-r--r--generic/tkSelect.c4
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));