diff options
author | tron <tron@openttd.org> | 2004-11-14 19:44:06 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2004-11-14 19:44:06 +0000 |
commit | 249a170acef352b40c7fa67fe65bdc62cbae4ff1 (patch) | |
tree | 42822c6c00e5ddf808a4b35810f9522ad3dcf5ed /screenshot.c | |
parent | 200d3fdbe83717437d7dad0fb99b180c3ca103a7 (diff) | |
download | openttd-249a170acef352b40c7fa67fe65bdc62cbae4ff1.tar.xz |
(svn r607) -Patch: [ 985102 ] static cleanup
Thanks to lvoge
Diffstat (limited to 'screenshot.c')
-rw-r--r-- | screenshot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/screenshot.c b/screenshot.c index 3b17028dd..7033f47de 100644 --- a/screenshot.c +++ b/screenshot.c @@ -374,7 +374,7 @@ void SetScreenshotFormat(int i) } // screenshot generator that dumps the current video buffer -void CurrentScreenCallback(void *userdata, byte *buf, uint y, uint pitch, uint n) +static void CurrentScreenCallback(void *userdata, byte *buf, uint y, uint pitch, uint n) { for (; n > 0; --n) { @@ -387,7 +387,7 @@ void CurrentScreenCallback(void *userdata, byte *buf, uint y, uint pitch, uint n extern void ViewportDoDraw(ViewPort *vp, int left, int top, int right, int bottom); // generate a large piece of the world -void LargeWorldCallback(void *userdata, byte *buf, uint y, uint pitch, uint n) +static void LargeWorldCallback(void *userdata, byte *buf, uint y, uint pitch, uint n) { ViewPort *vp = (ViewPort *)userdata; DrawPixelInfo dpi, *old_dpi; |