1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-26 11:52:25 +00:00

Fix missing return types on functions, convert some functions with always ignored results to void.

This commit is contained in:
Nick Briggs
2017-05-28 15:08:42 -07:00
parent 65ddb5a968
commit 691645d048
83 changed files with 587 additions and 549 deletions

View File

@@ -91,7 +91,7 @@ unsigned int word_swap_longword(word)
/* This does NOT swap words in a long-word! */
/* */
/****************************************************************/
byte_swap_page(short unsigned int *page, int wordcount)
void byte_swap_page(short unsigned int *page, int wordcount)
{
int i;
for (i = 0; i < wordcount; i++)
@@ -188,7 +188,7 @@ void word_swap_page(short unsigned int *page, int longwordcount)
******/
#define reverse_bits(word) ((reversedbits[((word)>>8) & 0xFF] <<8) | reversedbits[(word) & 0xff])
bit_reverse_region(register short unsigned int *top, int width, int height, int rasterwidth)
void bit_reverse_region(register short unsigned int *top, int width, int height, int rasterwidth)
{
register int i, j, wordwid = ((width+31)>>5)<<1;
register unsigned short *word;