summaryrefslogtreecommitdiff
path: root/gfx.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2004-11-14 19:44:06 +0000
committertron <tron@openttd.org>2004-11-14 19:44:06 +0000
commit249a170acef352b40c7fa67fe65bdc62cbae4ff1 (patch)
tree42822c6c00e5ddf808a4b35810f9522ad3dcf5ed /gfx.c
parent200d3fdbe83717437d7dad0fb99b180c3ca103a7 (diff)
downloadopenttd-249a170acef352b40c7fa67fe65bdc62cbae4ff1.tar.xz
(svn r607) -Patch: [ 985102 ] static cleanup
Thanks to lvoge
Diffstat (limited to 'gfx.c')
-rw-r--r--gfx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gfx.c b/gfx.c
index 449f5aa1a..c7589316d 100644
--- a/gfx.c
+++ b/gfx.c
@@ -160,7 +160,7 @@ void GfxFillRect(int left, int top, int right, int bottom, int color) {
}
}
-void GfxSetPixel(int x, int y, int color)
+static void GfxSetPixel(int x, int y, int color)
{
DrawPixelInfo *dpi = _cur_dpi;
if ((x-=dpi->left) < 0 || x>=dpi->width || (y-=dpi->top)<0 || y>=dpi->height)
@@ -1455,7 +1455,7 @@ static void GfxMainBlitter(byte *sprite, int x, int y, int mode)
}
-void GfxScalePalette(int pal, byte scaling)
+static void GfxScalePalette(int pal, byte scaling)
{
byte *dst, *src;
size_t count;
@@ -1661,7 +1661,7 @@ void DrawMouseCursor()
_cursor.dirty = false;
}
-void DbgScreenRect(int left, int top, int right, int bottom)
+static void DbgScreenRect(int left, int top, int right, int bottom)
{
DrawPixelInfo dp,*old;