diff --git a/mt.c b/mt.c index 39a5c17..a97acad 100644 --- a/mt.c +++ b/mt.c @@ -707,8 +707,6 @@ void do_color_print(proginfo *cur, char *use_string, int prt_start, int prt_end, if (!is_control_or_extended_ascii) { #if defined(UTF8_SUPPORT) && defined(NCURSES_WIDECHAR) -// FIXME warning: implicit declaration of function ‘waddnwstr’ is invalid in C99 [-Wimplicit-function-declaration] -// see /usr/include/ncurses.h waddnwstr(win -> win, &wcur, 1); #else wprintw(win -> win, "%c", wcur); diff --git a/mt.h b/mt.h index f6c37a0..2f401eb 100644 --- a/mt.h +++ b/mt.h @@ -60,10 +60,10 @@ typedef enum { SCHEME_TYPE_EDIT = 0, SCHEME_TYPE_FILTER } filter_edit_scheme_t; #endif #if defined(UTF8_SUPPORT) && !defined(__APPLE__) - #if defined(__FreeBSD__) || defined (__linux__) + #if defined(__FreeBSD__) #include #include - #else + #else /* if defined (__linux__) */ #include #include #endif