summaryrefslogtreecommitdiffstats
path: root/generic/tkStubInit.c
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2012-06-08 22:19:46 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2012-06-08 22:19:46 (GMT)
commitcd03a3972c973f590c8e8900c48dd9921c26f843 (patch)
tree94fa59472e6b2a0ef3c3cc97ffe115103e66977d /generic/tkStubInit.c
parent5218de7e5acbeb0e7b0b11e2ce34cc38b2cdc697 (diff)
parente9644da450ed4bed5e658211f490b8c8ebc004f6 (diff)
downloadtk-cd03a3972c973f590c8e8900c48dd9921c26f843.zip
tk-cd03a3972c973f590c8e8900c48dd9921c26f843.tar.gz
tk-cd03a3972c973f590c8e8900c48dd9921c26f843.tar.bz2
eliminate some ANSI_ARGS
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 342994a..477e5d8c 100644
--- a/generic/tkStubInit.c
+++ b/generic/tkStubInit.c
@@ -202,7 +202,7 @@ void TkSubtractRegion (TkRegion a, TkRegion b, TkRegion c)
# define TkWinGetPlatformTheme 0
# define TkWinChildProc 0
-# elif !defined(MAC_TCL) && !defined(MAC_OSX_TK) /* UNIX */
+# elif !defined(MAC_OSX_TK) /* UNIX */
# undef TkClipBox
# undef TkCreateRegion
@@ -213,14 +213,14 @@ void TkSubtractRegion (TkRegion a, TkRegion b, TkRegion c)
# undef TkUnionRectWithRegion
# undef TkSubtractRegion
-# define TkClipBox (void (*) _ANSI_ARGS_((TkRegion, XRectangle *))) XClipBox
+# define TkClipBox (void (*) (TkRegion, XRectangle *)) XClipBox
# define TkCreateRegion (TkRegion (*) ()) XCreateRegion
-# define TkDestroyRegion (void (*) _ANSI_ARGS_((TkRegion))) XDestroyRegion
-# define TkIntersectRegion (void (*) _ANSI_ARGS_((TkRegion, TkRegion, TkRegion))) XIntersectRegion
-# define TkRectInRegion (int (*) _ANSI_ARGS_((TkRegion, int, int, unsigned int, unsigned int))) XRectInRegion
-# define TkSetRegion (void (*) _ANSI_ARGS_((Display *, GC, TkRegion))) XSetRegion
-# define TkUnionRectWithRegion (void (*) _ANSI_ARGS_((XRectangle *, TkRegion, TkRegion))) XUnionRectWithRegion
-# define TkSubtractRegion (void (*) _ANSI_ARGS_((TkRegion, TkRegion, TkRegion))) XSubtractRegion
+# define TkDestroyRegion (void (*) (TkRegion)) XDestroyRegion
+# define TkIntersectRegion (void (*) (TkRegion, TkRegion, TkRegion)) XIntersectRegion
+# define TkRectInRegion (int (*) (TkRegion, int, int, unsigned int, unsigned int)) XRectInRegion
+# define TkSetRegion (void (*) (Display *, GC, TkRegion)) XSetRegion
+# define TkUnionRectWithRegion (void (*) (XRectangle *, TkRegion, TkRegion)) XUnionRectWithRegion
+# define TkSubtractRegion (void (*) (TkRegion, TkRegion, TkRegion)) XSubtractRegion
# endif
#endif /* !__WIN32__ */