Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit c045a77f authored by deuce's avatar deuce

Const-ify.

parent 1acf5310
......@@ -93,7 +93,7 @@ CIOLIBEXPORT void CIOLIBCALL ciolib_gotoxy(int x, int y);
CIOLIBEXPORT void CIOLIBCALL ciolib_clreol(void);
CIOLIBEXPORT void CIOLIBCALL ciolib_clrscr(void);
CIOLIBEXPORT int CIOLIBCALL ciolib_cputs(char *str);
CIOLIBEXPORT int CIOLIBCALL ciolib_cprintf(char *fmat, ...);
CIOLIBEXPORT int CIOLIBCALL ciolib_cprintf(const char *fmat, ...);
CIOLIBEXPORT void CIOLIBCALL ciolib_textbackground(int colour);
CIOLIBEXPORT void CIOLIBCALL ciolib_textcolor(int colour);
CIOLIBEXPORT void CIOLIBCALL ciolib_highvideo(void);
......@@ -846,7 +846,7 @@ CIOLIBEXPORT void CIOLIBCALL ciolib_insline(void)
}
/* Not overridable due to varargs */
CIOLIBEXPORT int CIOLIBCALL ciolib_cprintf(char *fmat, ...)
CIOLIBEXPORT int CIOLIBCALL ciolib_cprintf(const char *fmat, ...)
{
va_list argptr;
int ret;
......
......@@ -252,7 +252,7 @@ typedef struct {
void (*window) (int,int,int,int);
void (*delline) (void);
void (*insline) (void);
int (*cprintf) (char *,...);
int (*cprintf) (const char *,...);
int (*cputs) (char *);
void (*textbackground) (int);
void (*textcolor) (int);
......@@ -307,7 +307,7 @@ CIOLIBEXPORT void CIOLIBCALL ciolib_gotoxy(int x, int y);
CIOLIBEXPORT void CIOLIBCALL ciolib_clreol(void);
CIOLIBEXPORT void CIOLIBCALL ciolib_clrscr(void);
CIOLIBEXPORT int CIOLIBCALL ciolib_cputs(char *str);
CIOLIBEXPORT int CIOLIBCALL ciolib_cprintf(char *fmat, ...);
CIOLIBEXPORT int CIOLIBCALL ciolib_cprintf(const char *fmat, ...);
CIOLIBEXPORT void CIOLIBCALL ciolib_textbackground(int colour);
CIOLIBEXPORT void CIOLIBCALL ciolib_textcolor(int colour);
CIOLIBEXPORT void CIOLIBCALL ciolib_highvideo(void);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment