summaryrefslogtreecommitdiff
path: root/plugins/dfxvideo
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/dfxvideo')
-rw-r--r--plugins/dfxvideo/prim.c8
-rw-r--r--plugins/dfxvideo/soft.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/plugins/dfxvideo/prim.c b/plugins/dfxvideo/prim.c
index ed9474c1..0372cb4a 100644
--- a/plugins/dfxvideo/prim.c
+++ b/plugins/dfxvideo/prim.c
@@ -155,7 +155,7 @@ static __inline void SetRenderMode(uint32_t DrawAttributes)
#define CHKMAX_X 1024
#define CHKMAX_Y 512
-void AdjustCoord4()
+static void AdjustCoord4()
{
lx0=(short)(((int)lx0<<SIGNSHIFT)>>SIGNSHIFT);
lx1=(short)(((int)lx1<<SIGNSHIFT)>>SIGNSHIFT);
@@ -167,7 +167,7 @@ void AdjustCoord4()
ly3=(short)(((int)ly3<<SIGNSHIFT)>>SIGNSHIFT);
}
-void AdjustCoord3()
+static void AdjustCoord3()
{
lx0=(short)(((int)lx0<<SIGNSHIFT)>>SIGNSHIFT);
lx1=(short)(((int)lx1<<SIGNSHIFT)>>SIGNSHIFT);
@@ -177,7 +177,7 @@ void AdjustCoord3()
ly2=(short)(((int)ly2<<SIGNSHIFT)>>SIGNSHIFT);
}
-void AdjustCoord2()
+static void AdjustCoord2()
{
lx0=(short)(((int)lx0<<SIGNSHIFT)>>SIGNSHIFT);
lx1=(short)(((int)lx1<<SIGNSHIFT)>>SIGNSHIFT);
@@ -185,7 +185,7 @@ void AdjustCoord2()
ly1=(short)(((int)ly1<<SIGNSHIFT)>>SIGNSHIFT);
}
-void AdjustCoord1()
+static void AdjustCoord1()
{
lx0=(short)(((int)lx0<<SIGNSHIFT)>>SIGNSHIFT);
ly0=(short)(((int)ly0<<SIGNSHIFT)>>SIGNSHIFT);
diff --git a/plugins/dfxvideo/soft.c b/plugins/dfxvideo/soft.c
index ebe02760..fda9eb43 100644
--- a/plugins/dfxvideo/soft.c
+++ b/plugins/dfxvideo/soft.c
@@ -211,7 +211,7 @@ unsigned char dithertable[16] =
4, 3, 5, 2
};
-void Dither16(unsigned short * pdest,uint32_t r,uint32_t g,uint32_t b,unsigned short sM)
+static void Dither16(unsigned short * pdest,uint32_t r,uint32_t g,uint32_t b,unsigned short sM)
{
unsigned char coeff;
unsigned char rlow, glow, blow;