summaryrefslogtreecommitdiffstats
path: root/generic/tkStubInit.c
diff options
context:
space:
mode:
authorjan.nijtmans <jan.nijtmans@noemail.net>2012-05-14 18:58:20 (GMT)
committerjan.nijtmans <jan.nijtmans@noemail.net>2012-05-14 18:58:20 (GMT)
commit23b052e6e0e30539d958bd61e2f6a87dd3c2b982 (patch)
tree7d066c5e714c648fcafc6c38bd2f537098ef36ab /generic/tkStubInit.c
parent980442509e5699b442e699743aa2b916d76b1286 (diff)
downloadtk-23b052e6e0e30539d958bd61e2f6a87dd3c2b982.zip
tk-23b052e6e0e30539d958bd61e2f6a87dd3c2b982.tar.gz
tk-23b052e6e0e30539d958bd61e2f6a87dd3c2b982.tar.bz2
fix some visual studio warnings, eliminate some ANSI_ARGS
FossilOrigin-Name: 81524cf1a198db3d15e4de70773ad1e9b3583058
Diffstat (limited to 'generic/tkStubInit.c')
-rw-r--r--generic/tkStubInit.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/generic/tkStubInit.c b/generic/tkStubInit.c
index 01bda9e..ffa8c2b 100644
--- a/generic/tkStubInit.c
+++ b/generic/tkStubInit.c
@@ -54,17 +54,17 @@ doNothing(void)
# undef TkpCmapStressed
# undef TkpSync
-# define TkCreateXEventSource (void (*) ()) doNothing
-# define TkFreeWindowId (void (*) _ANSI_ARGS_((TkDisplay *, Window))) doNothing
-# define TkInitXId (void (*) _ANSI_ARGS_((TkDisplay *))) doNothing
-# define TkpCmapStressed (int (*) _ANSI_ARGS_((Tk_Window, Colormap))) doNothing
-# define TkpSync (void (*) _ANSI_ARGS_((TkDisplay *))) doNothing
+# define TkCreateXEventSource (void (*) (void)) doNothing
+# define TkFreeWindowId (void (*) (TkDisplay *, Window)) doNothing
+# define TkInitXId (void (*) (TkDisplay *)) doNothing
+# define TkpCmapStressed (int (*) (Tk_Window, Colormap)) doNothing
+# define TkpSync (void (*) (Display *)) doNothing
# define TkUnixContainerId 0
# define TkUnixDoOneXEvent 0
# define TkUnixSetMenubar 0
-# define TkWmCleanup (void (*) _ANSI_ARGS_((TkDisplay *))) doNothing
-# define TkSendCleanup (void (*) _ANSI_ARGS_((TkDisplay *))) doNothing
-# define TkFreeXId (void (*) _ANSI_ARGS_((TkDisplay *))) doNothing
+# define TkWmCleanup (void (*) (TkDisplay *)) doNothing
+# define TkSendCleanup (void (*) (TkDisplay *)) doNothing
+# define TkFreeXId (void (*) (TkDisplay *)) doNothing
#else
/*