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 4d6351da authored by rswindell's avatar rswindell

Constification to appease the C++ Gods.

parent 9a28180e
...@@ -592,7 +592,7 @@ int sbbs_t::outchar(char ch) ...@@ -592,7 +592,7 @@ int sbbs_t::outchar(char ch)
return 0; return 0;
} }
int sbbs_t::outchar(enum unicode_codepoint codepoint, char* cp437_fallback) int sbbs_t::outchar(enum unicode_codepoint codepoint, const char* cp437_fallback)
{ {
if(term_supports(UTF8)) { if(term_supports(UTF8)) {
char str[UTF8_MAX_LEN]; char str[UTF8_MAX_LEN];
......
...@@ -717,7 +717,7 @@ public: ...@@ -717,7 +717,7 @@ public:
void backspace(void); /* Output a destructive backspace via outchar */ void backspace(void); /* Output a destructive backspace via outchar */
int outchar(char ch); /* Output a char - check echo and emu. */ int outchar(char ch); /* Output a char - check echo and emu. */
int outchar(enum unicode_codepoint, char cp437_fallback); int outchar(enum unicode_codepoint, char cp437_fallback);
int outchar(enum unicode_codepoint, char* cp437_fallback = NULL); int outchar(enum unicode_codepoint, const char* cp437_fallback = NULL);
void inc_column(int count); void inc_column(int count);
void center(char *str); void center(char *str);
void wide(const char*); void wide(const char*);
......
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