diff --git a/inc/rawcolordefs.h b/inc/rawcolordefs.h new file mode 100644 index 0000000..8c8d2c0 --- /dev/null +++ b/inc/rawcolordefs.h @@ -0,0 +1,8 @@ +#ifndef RAWCOLORDEFS_H +#define RAWCOLORDEFS_H 1 +#include "lispemul.h" /* for LispPTR */ +void C_slowbltchar(LispPTR *args); +LispPTR Colorize_Bitmap(LispPTR args[]); +void Draw_8BppColorLine(LispPTR *args); +void Uncolorize_Bitmap(LispPTR args[]); +#endif diff --git a/src/rawcolor.c b/src/rawcolor.c index 8bb35a1..2850e7d 100644 --- a/src/rawcolor.c +++ b/src/rawcolor.c @@ -419,7 +419,7 @@ loop: /* */ /************************************************************************/ -void newColorizeFont8(PILOTBBT *pbt, u_char backcolor, u_char forecolor, LispPTR srctype, LispPTR ope) +static void newColorizeFont8(PILOTBBT *pbt, u_char backcolor, u_char forecolor, LispPTR srctype, LispPTR ope) { DLword *nbase; u_char *dbase; diff --git a/src/subr.c b/src/subr.c index 8a3b931..f1153b0 100644 --- a/src/subr.c +++ b/src/subr.c @@ -64,6 +64,11 @@ #include "uutilsdefs.h" // for suspend_lisp, check_unix_password, unix_fu... #include "vmemsavedefs.h" // for lisp_finish, vmem_save0 +#ifdef COLOR +#include "rawcolordefs.h" +#include "llcolordefs.h" +#endif + extern LispPTR *PENDINGINTERRUPT68k; /***********************************************************/