From c5b10a6cf36cd78ec1ffa3bf4318eb9c27e793a0 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Mon, 4 Nov 2013 20:57:47 +1100 Subject: [PATCH] Fix for non curses build. --- cgminer.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cgminer.c b/cgminer.c index 081744c3..ca717bc8 100644 --- a/cgminer.c +++ b/cgminer.c @@ -2260,6 +2260,11 @@ static void get_statline(char *buf, size_t bufsiz, struct cgpu_info *cgpu) cgpu->drv->get_statline(buf, bufsiz, cgpu); } +static bool shared_strategy(void) +{ + return (pool_strategy == POOL_LOADBALANCE || pool_strategy == POOL_BALANCE); +} + #ifdef HAVE_CURSES #define CURBUFSIZ 256 #define cg_mvwprintw(win, y, x, fmt, ...) do { \ @@ -2273,11 +2278,6 @@ static void get_statline(char *buf, size_t bufsiz, struct cgpu_info *cgpu) wprintw(win, "%s", tmp42); \ } while (0) -static bool shared_strategy(void) -{ - return (pool_strategy == POOL_LOADBALANCE || pool_strategy == POOL_BALANCE); -} - /* Must be called with curses mutex lock held and curses_active */ static void curses_print_status(void) {