diff options
Diffstat (limited to 'generic/tkIntPlatDecls.h')
-rw-r--r-- | generic/tkIntPlatDecls.h | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/generic/tkIntPlatDecls.h b/generic/tkIntPlatDecls.h index 95881cd..84720fa 100644 --- a/generic/tkIntPlatDecls.h +++ b/generic/tkIntPlatDecls.h @@ -9,7 +9,7 @@ * Copyright (c) 1998-1999 by Scriptics Corporation. * All rights reserved. * - * RCS: @(#) $Id: tkIntPlatDecls.h,v 1.30 2008/04/01 16:30:53 dgp Exp $ + * RCS: @(#) $Id: tkIntPlatDecls.h,v 1.31 2008/04/02 21:32:32 das Exp $ */ #ifndef _TKINTPLATDECLS @@ -556,7 +556,7 @@ EXTERN int TkpTestsendCmd (ClientData clientData, typedef struct TkIntPlatStubs { int magic; - struct TkIntPlatStubHooks *hooks; + CONST struct TkIntPlatStubHooks *hooks; #ifdef __WIN32__ /* WIN */ char * (*tkAlignImageData) (XImage * image, int alignment, int bitOrder); /* 0 */ @@ -671,15 +671,7 @@ typedef struct TkIntPlatStubs { } TkIntPlatStubs; #if defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) - -#ifdef __cplusplus -extern "C" { -#endif -extern TkIntPlatStubs *tkIntPlatStubsPtr; -#ifdef __cplusplus -} -#endif - +EXTERN CONST TkIntPlatStubs *tkIntPlatStubsPtr; #endif /* defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) */ #if defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) |