Skip to content
Snippets Groups Projects
Commit 2cd022d3 authored by rswindell's avatar rswindell
Browse files

Fix compile issues when using BCC32.

parent b90e0d0c
No related branches found
No related tags found
No related merge requests found
......@@ -504,7 +504,7 @@ CIOLIBEXPORT int CIOLIBCALL mouse_wait(void);
CIOLIBEXPORT int CIOLIBCALL mouse_pending(void);
CIOLIBEXPORT int CIOLIBCALL ciolib_getmouse(struct mouse_event *mevent);
CIOLIBEXPORT int CIOLIBCALL ciolib_ungetmouse(struct mouse_event *mevent);
CIOLIBEXPORT void CIOLIBCALL ciolib_mouse_thread(void *data);
CIOLIBEXPORT void ciolib_mouse_thread(void *data);
CIOLIBEXPORT int CIOLIBCALL ciomouse_setevents(int events);
CIOLIBEXPORT int CIOLIBCALL ciomouse_addevents(int events);
CIOLIBEXPORT int CIOLIBCALL ciomouse_delevents(int events);
......
......@@ -2093,7 +2093,7 @@ static void ctputs(struct cterminal *cterm, char *buf)
*cterm->_wscroll=oldscroll;
}
char* CIOLIBCALL cterm_write(struct cterminal * cterm, const void *vbuf, int buflen, char *retbuf, size_t retsize, int *speed)
CIOLIBEXPORT char* CIOLIBCALL cterm_write(struct cterminal * cterm, const void *vbuf, int buflen, char *retbuf, size_t retsize, int *speed)
{
const unsigned char *buf = (unsigned char *)vbuf;
unsigned char ch[2];
......
......@@ -187,7 +187,7 @@ extern "C" {
#endif
CIOLIBEXPORT struct cterminal* CIOLIBCALL cterm_init(int height, int width, int xpos, int ypos, int backlines, unsigned char *scrollback, int emulation);
CIOLIBEXPORT char CIOLIBCALL *cterm_write(struct cterminal *cterm, const void *buf, int buflen, char *retbuf, size_t retsize, int *speed);
CIOLIBEXPORT char* CIOLIBCALL cterm_write(struct cterminal *cterm, const void *buf, int buflen, char *retbuf, size_t retsize, int *speed);
CIOLIBEXPORT int CIOLIBCALL cterm_openlog(struct cterminal *cterm, char *logfile, int logtype);
CIOLIBEXPORT void CIOLIBCALL cterm_closelog(struct cterminal *cterm);
CIOLIBEXPORT void CIOLIBCALL cterm_end(struct cterminal *cterm);
......
......@@ -206,7 +206,7 @@ int CIOLIBCALL more_multies(int button, int clicks)
return(0);
}
void CIOLIBCALL ciolib_mouse_thread(void *data)
void ciolib_mouse_thread(void *data)
{
int timedout;
int timeout_button=0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment