Don't compile convert_output_format2() in non-GUI builds

This function is only used by the GUI menu code, so we don't need to
build it for normal builds.

Also clean up some unsigned char / char mismatches that the compiler warned
about.
This commit is contained in:
Kevin Easton
2015-06-20 23:42:04 +10:00
parent 64860729b3
commit b0f0124779
2 changed files with 14 additions and 9 deletions

View File

@@ -108,7 +108,9 @@ ChannelList * BX_prepare_command (int *, char *, int);
int isme (char *);
char *BX_convert_output_format (const char *, const char *, ...);
#ifdef GUI
char *convert_output_format2 (const char *);
#endif
void add_last_type (LastMsg *, int, char *, char *, char *, char *);
int check_last_type (LastMsg *, int, char *, char *);
int matchmcommand (char *, int);