screenshot.c
changeset 410 8de2aaf20800
parent 318 65ebd0cab39b
child 430 75820dedf4f1
--- a/screenshot.c	Sun Nov 14 18:20:40 2004 +0000
+++ b/screenshot.c	Sun Nov 14 19:44:06 2004 +0000
@@ -374,7 +374,7 @@
 }
 
 // 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 @@
 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;