Converted bti_output_line and process_line to static, fixed a variable type to
match the getline prototype (returnins a signed value).
Signed-off-by: L. Alberto Giménez <agimenez@sysvalve.es>
}
/* The final place data is sent to the screen/pty/tty */
-void bti_output_line(struct session *session, xmlChar *user, xmlChar *id,
+static void bti_output_line(struct session *session, xmlChar *user, xmlChar *id,
xmlChar *created, xmlChar *text)
{
if (session->verbose)
{ 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;
char *key = NULL;
char *value = NULL;
size_t len = 0;
- size_t n;
+ ssize_t n;
char *c;
config_file = fopen(session->configfile, "r");