diff options
author | pdw <> | 2014-01-05 20:02:51 +0000 |
---|---|---|
committer | pdw <> | 2014-01-05 20:02:51 +0000 |
commit | 836733ba143c8dd4032934297460cccf46d3c018 (patch) | |
tree | 0cc3ff12a5abab6a62248ce6adcb1d5a365c6a5b /cfgfile.c | |
parent | a7b8639fc91b95a36ccab85eac2c5e328695887f (diff) | |
download | iftop-836733ba143c8dd4032934297460cccf46d3c018.zip |
Fixes for a bunch of compiler warnings.
Diffstat (limited to 'cfgfile.c')
-rw-r--r-- | cfgfile.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -8,6 +8,7 @@ #include <stdio.h> #include <string.h> #include <errno.h> +#include <stdlib.h> #include "stringmap.h" #include "iftop.h" @@ -169,7 +170,6 @@ int config_get_int(const char *directive, int *value) { * failure, or 0 if no value was found. */ int config_get_float(const char *directive, float *value) { stringmap S; - item *I; char *s, *t; if (!value) return -1; @@ -245,7 +245,5 @@ void config_set_string(const char *directive, const char* s) { } int read_config(char *file, int whinge_on_error) { - void* o; - return read_config_file(file, whinge_on_error); } |