From: Greg Kroah-Hartman Date: Fri, 18 Feb 2011 23:28:43 +0000 (-0800) Subject: config.c: fix up some compiler warnings X-Git-Url: https://git.toastfreeware.priv.at/gregoa/bti.git/commitdiff_plain/b0f9e8c1f53f128d9f5fe0566720ea28453aa24e?hp=7276d1a65c88b46879b1c253b3dd83673c9f34c0;ds=inline config.c: fix up some compiler warnings Signed-off-by: Greg Kroah-Hartman --- diff --git a/config.c b/config.c index 63b10c2..7315c69 100644 --- a/config.c +++ b/config.c @@ -295,7 +295,7 @@ static struct config_function config_table[] = { { NULL, NULL } }; -void process_line(struct session *session, char *key, char *value) +static void process_line(struct session *session, char *key, char *value) { struct config_function *item; int result; @@ -325,7 +325,7 @@ void bti_parse_configfile(struct session *session) char *key = NULL; char *value = NULL; size_t len = 0; - size_t n; + ssize_t n; char *c; config_file = fopen(session->configfile, "r");