X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=conout.c;h=13a242f4041b613f539c1030bd59a6c2bcf320e1;hb=f8db5a7c6d0ba2e5e9624e1de46bb2da9572bb32;hp=687fdf499a9e590af16c6c90a4006187b3ca5b4f;hpb=b0a07695344c805381fdca64aac229ee98725130;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)