X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=conout.c;h=13a242f4041b613f539c1030bd59a6c2bcf320e1;hb=0e392f91d288017fef146f020d1166a501f5bcdf;hp=687fdf499a9e590af16c6c90a4006187b3ca5b4f;hpb=0b6269f60712cb727956ad1be1114e7208a829a4;p=xonotic%2Fgmqcc.git diff --git a/conout.c b/conout.c index 687fdf4..13a242f 100644 --- a/conout.c +++ b/conout.c @@ -21,7 +21,6 @@ * SOFTWARE. */ #include "gmqcc.h" -#include /* * isatty/STDERR_FILENO/STDOUT_FILNO @@ -198,7 +197,7 @@ static con_t console; * NOTE: This prevents colored output to piped stdout/err via isatty * checks. */ -static void con_enablecolor() { +static void con_enablecolor(void) { if (console.handle_err == stderr || console.handle_err == stdout) console.color_err = !!(isatty(STDERR_FILENO)); if (console.handle_out == stderr || console.handle_out == stdout)