summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authordas <das>2006-03-16 10:04:48 (GMT)
committerdas <das>2006-03-16 10:04:48 (GMT)
commitb5279680e9f5ff0e0fcd35e3d0dabeece5e4b0c9 (patch)
tree6d72ceba1c42340aa13c9c362c772a3e36f7883a /generic
parentf8fd871f4aef621bf38e7f3cb69ea6463da46554 (diff)
downloadtk-b5279680e9f5ff0e0fcd35e3d0dabeece5e4b0c9.zip
tk-b5279680e9f5ff0e0fcd35e3d0dabeece5e4b0c9.tar.gz
tk-b5279680e9f5ff0e0fcd35e3d0dabeece5e4b0c9.tar.bz2
missing MODULE_SCOPE declarations and obsolete exports discovered by 'make checkstubs'
Diffstat (limited to 'generic')
-rw-r--r--generic/tkImage.c3
-rw-r--r--generic/tkImgPhoto.c6
2 files changed, 6 insertions, 3 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