summaryrefslogtreecommitdiffstats
path: root/generic/tkIntXlibDecls.h
diff options
context:
space:
mode:
authordas <das>2008-04-02 21:32:32 (GMT)
committerdas <das>2008-04-02 21:32:32 (GMT)
commitb6aa2d67518ad50fdd96a64bd175d9ab6d8cbf02 (patch)
treea561d1b1c33b5cc093840e3640e2c0eee7854dca /generic/tkIntXlibDecls.h
parentd80afd9403e34db5407b5d005f40f1b69aae8267 (diff)
downloadtk-b6aa2d67518ad50fdd96a64bd175d9ab6d8cbf02.zip
tk-b6aa2d67518ad50fdd96a64bd175d9ab6d8cbf02.tar.gz
tk-b6aa2d67518ad50fdd96a64bd175d9ab6d8cbf02.tar.bz2
* generic/tkDecls.h: make genstubs
* generic/tkIntDecls.h: * generic/tkIntPlatDecls.h: * generic/tkIntXlibDecls.h: * generic/tkPlatDecls.h: * generic/tkStubInit.c:
Diffstat (limited to 'generic/tkIntXlibDecls.h')
-rw-r--r--generic/tkIntXlibDecls.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/generic/tkIntXlibDecls.h b/generic/tkIntXlibDecls.h
index 759f162..2dae5b6 100644
--- a/generic/tkIntXlibDecls.h
+++ b/generic/tkIntXlibDecls.h
@@ -9,7 +9,7 @@
* Copyright (c) 1998-1999 by Scriptics Corporation.
* All rights reserved.
*
- * RCS: @(#) $Id: tkIntXlibDecls.h,v 1.24 2008/04/01 16:30:53 dgp Exp $
+ * RCS: @(#) $Id: tkIntXlibDecls.h,v 1.25 2008/04/02 21:32:32 das Exp $
*/
#ifndef _TKINTXLIBDECLS
@@ -1212,7 +1212,7 @@ EXTERN int XSync (Display * display, Bool flag);
typedef struct TkIntXlibStubs {
int magic;
- struct TkIntXlibStubHooks *hooks;
+ CONST struct TkIntXlibStubHooks *hooks;
#ifdef __WIN32__ /* WIN */
void (*xSetDashes) (Display * display, GC gc, int dash_offset, _Xconst char * dash_list, int n); /* 0 */
@@ -1420,15 +1420,7 @@ typedef struct TkIntXlibStubs {
} TkIntXlibStubs;
#if defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS)
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-extern TkIntXlibStubs *tkIntXlibStubsPtr;
-#ifdef __cplusplus
-}
-#endif
-
+EXTERN CONST TkIntXlibStubs *tkIntXlibStubsPtr;
#endif /* defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) */
#if defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS)