diff options
author | Ole Loots <ole@monochrom.net> | 2012-03-22 21:34:13 +0000 |
---|---|---|
committer | Ole Loots <ole@monochrom.net> | 2012-03-22 21:34:13 +0000 |
commit | 974f53679449da36b10bdccb3241b1f36f0f1936 (patch) | |
tree | ddb56e62fceac64fce38b47e7de54eb01768683b /atari/plot/plotter_vdi.c | |
parent | 2ffb570acda7e03a94ca81bea36a60eb65ebca53 (diff) | |
download | netsurf-974f53679449da36b10bdccb3241b1f36f0f1936.tar.gz netsurf-974f53679449da36b10bdccb3241b1f36f0f1936.tar.bz2 |
Fixed declarations of set_std_pixel / get_std_pixel
svn path=/trunk/netsurf/; revision=13553
Diffstat (limited to 'atari/plot/plotter_vdi.c')
-rwxr-xr-x | atari/plot/plotter_vdi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/atari/plot/plotter_vdi.c b/atari/plot/plotter_vdi.c index 2a722f5e0..c2de42cf8 100755 --- a/atari/plot/plotter_vdi.c +++ b/atari/plot/plotter_vdi.c @@ -1002,7 +1002,7 @@ static void snapshot_destroy( GEM_PLOTTER self ) } } -inline void set_stdpx( MFDB * dst, int wdplanesz, int x, int y, unsigned char val )
+static inline void set_stdpx( MFDB * dst, int wdplanesz, int x, int y, unsigned char val )
{
short * buf;
short whichbit = (1<<(15-(x%16)));
@@ -1034,7 +1034,7 @@ inline void set_stdpx( MFDB * dst, int wdplanesz, int x, int y, unsigned char va *buf = (val&(1<<7)) ? ((*buf)|(whichbit)) : ((*buf)&~(whichbit));
} -inline unsigned char get_stdpx(MFDB * dst, int wdplanesz, int x, int y ) +static inline unsigned char get_stdpx(MFDB * dst, int wdplanesz, int x, int y ) { unsigned char ret=0; short * buf;
|