X-Git-Url: https://git.toastfreeware.priv.at/gregoa/bti.git/blobdiff_plain/68f47b095684684e4247265e02ba8c0d12ba26b8..8a4839e0036c849faf468e8e888e8465c2c4e5ea:/bti.c diff --git a/bti.c b/bti.c index 3938e0a..9c3b7f4 100644 --- a/bti.c +++ b/bti.c @@ -52,7 +52,7 @@ } while (0) -static int debug; +int debug; static void display_help(void) { @@ -284,8 +284,8 @@ static CURL *curl_init(void) } /* The final place data is sent to the screen/pty/tty */ -bti_output_line(struct session *session, xmlChar *user, xmlChar *id, - xmlChar *created, xmlChar *text) +static void bti_output_line(struct session *session, xmlChar *user, xmlChar *id, + xmlChar *created, xmlChar *text) { if (session->verbose) printf("[%s] {%s} (%.16s) %s\n", user, id, created, text);