summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7276d1a)
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 */
}
/* 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)
xmlChar *created, xmlChar *text)
{
if (session->verbose)
-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;
{
struct config_function *item;
int result;
char *key = NULL;
char *value = NULL;
size_t len = 0;
char *key = NULL;
char *value = NULL;
size_t len = 0;
char *c;
config_file = fopen(session->configfile, "r");
char *c;
config_file = fopen(session->configfile, "r");