now code compiles with -ansi -pedantic and has less warnings

This commit is contained in:
Christian Kruse
2014-01-09 14:29:14 +01:00
parent 6e3fe059d8
commit 4c3d7f80ed
6 changed files with 16 additions and 12 deletions

View File

@@ -44,6 +44,8 @@ typedef struct
char pgctl_options[MAXLEN];
} t_configuration_options;
#define T_CONFIGURATION_OPTIONS_INITIALIZER { "", -1, "", MANUAL_FAILOVER, -1, "", "", "", "", "", "", "", -1, -1, -1, "", "" }
void parse_config(const char *config_file, t_configuration_options *options);
void parse_line(char *buff, char *name, char *value);
char *trim(char *s);