summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-05-03 21:30:48 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-05-03 21:30:48 (GMT)
commit0443d767018b5fcddfa351c46b1bc04d396d3de0 (patch)
treeacac379a0828e595e5e52e82a52a965e37dc9275 /macosx
parent4972d0ed7c3b32c347200094518434423148735b (diff)
downloadtk-0443d767018b5fcddfa351c46b1bc04d396d3de0.zip
tk-0443d767018b5fcddfa351c46b1bc04d396d3de0.tar.gz
tk-0443d767018b5fcddfa351c46b1bc04d396d3de0.tar.bz2
2 missing "static" keywords
Diffstat (limited to 'macosx')
-rw-r--r--macosx/tkMacOSXColor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/tkMacOSXColor.c b/macosx/tkMacOSXColor.c
index 7e7a81f..90359a0 100644
--- a/macosx/tkMacOSXColor.c
+++ b/macosx/tkMacOSXColor.c
@@ -36,7 +36,7 @@ static NSColorSpace* sRGB = NULL;
static const CGFloat WINDOWBACKGROUND[4] =
{236.0 / 255, 236.0 / 255, 236.0 / 255, 1.0};
-void initColorTable()
+static void initColorTable()
{
NSAutoreleasePool *pool = [NSAutoreleasePool new];
Tcl_InitHashTable(&systemColors, TCL_STRING_KEYS);
@@ -239,7 +239,7 @@ unsigned long TkMacOSXClearPixel(
*----------------------------------------------------------------------
*/
-SystemColorDatum*
+static SystemColorDatum*
GetEntryFromPixel(
unsigned long pixel)
{