From b5279680e9f5ff0e0fcd35e3d0dabeece5e4b0c9 Mon Sep 17 00:00:00 2001 From: das Date: Thu, 16 Mar 2006 10:04:48 +0000 Subject: missing MODULE_SCOPE declarations and obsolete exports discovered by 'make checkstubs' --- generic/tkImage.c | 3 +-- generic/tkImgPhoto.c | 6 +++++- macosx/tkMacOSXSend.c | 9 +-------- 3 files changed, 7 insertions(+), 11 deletions(-) diff --git a/generic/tkImage.c b/generic/tkImage.c index 4580f0c..794c82a 100644 --- a/generic/tkImage.c +++ b/generic/tkImage.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkImage.c,v 1.28 2005/11/27 02:36:13 das Exp $ + * RCS: @(#) $Id: tkImage.c,v 1.29 2006/03/16 10:04:48 das Exp $ */ #include "tkInt.h" @@ -18,7 +18,6 @@ #ifndef USE_OLD_IMAGE MODULE_SCOPE void Tk_CreateOldImageType(Tk_ImageType *typePtr); -MODULE_SCOPE void Tk_CreateOldPhotoImageFormat(Tk_PhotoImageFormat *formatPtr); #endif /* diff --git a/generic/tkImgPhoto.c b/generic/tkImgPhoto.c index e1ca874..86074b6 100644 --- a/generic/tkImgPhoto.c +++ b/generic/tkImgPhoto.c @@ -17,7 +17,7 @@ * Department of Computer Science, * Australian National University. * - * RCS: @(#) $Id: tkImgPhoto.c,v 1.63 2006/03/16 00:38:42 dkf Exp $ + * RCS: @(#) $Id: tkImgPhoto.c,v 1.64 2006/03/16 10:04:49 das Exp $ */ #include "tkInt.h" @@ -34,6 +34,10 @@ extern int _XInitImageFuncPtrs(XImage *image); +#ifndef USE_OLD_IMAGE +MODULE_SCOPE void Tk_CreateOldPhotoImageFormat(Tk_PhotoImageFormat *formatPtr); +#endif + /* * A signed 8-bit integral type. If chars are unsigned and the compiler isn't * an ANSI one, then we have to use short instead (which wastes space) to get diff --git a/macosx/tkMacOSXSend.c b/macosx/tkMacOSXSend.c index eaa0813..adc0a8e 100644 --- a/macosx/tkMacOSXSend.c +++ b/macosx/tkMacOSXSend.c @@ -32,7 +32,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkMacOSXSend.c,v 1.3 2005/11/27 02:36:15 das Exp $ + * RCS: @(#) $Id: tkMacOSXSend.c,v 1.4 2006/03/16 10:04:49 das Exp $ */ #include @@ -174,13 +174,6 @@ static RegisteredInterp *interpListPtr = NULL; */ /* - * The following variable is the serial number that was used in the - * last "send" command. It is exported only for testing purposes. - */ - -int tkSendSerial = 0; - - /* * Maximum size property that can be read at one time by * this module: */ -- cgit v0.12