iftop.c:148:61: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (!options.timed_output || options.timed_output && t - first_timestamp >= options.timed_output) { ^ iftop.c: In function 'handle_llc_packet': iftop.c:503:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] et = EXTRACT_16BITS(&llc->llc_ethertype[0]); ^ iftop.c: In function 'packet_init': iftop.c:690:5: warning: implicit declaration of function 'get_addrs_ioctl' [-Wimplicit-function-declaration] result = get_addrs_ioctl(options.interface, if_hw_addr, ^ iftop.c:682:9: warning: unused variable 's' [-Wunused-variable] int s; ^ iftop.c: In function 'main': iftop.c:801:5: warning: implicit declaration of function 'options_read_args' [-Wimplicit-function-declaration] options_read_args(argc, argv); ^ iftop.c:804:5: warning: implicit declaration of function 'options_make' [-Wimplicit-function-declaration] options_make(); options.c:303:17: warning: implicit declaration of function 'config_set_string' [-Wimplicit-function-declaration] config_set_string("dns-resolution","false"); ^ options.c: In function 'options_config_get_enum': options.c:425:9: warning: implicit declaration of function 'config_get_enum' [-Wimplicit-function-declaration] if(config_get_enum(name, enumeration, &i)) { ^ options.c: At top level: options.c:181:13: warning: 'set_max_bandwidth' defined but not used [-Wunused-function]:q! static void set_max_bandwidth(char* arg) { ^ options.c:207:13: warning: 'set_net_filter' defined but not used [-Wunused-function] static void set_net_filter(char* arg) { ui_common.c:167:9: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(nn->data); ^ ui_common.c:167:9: warning: incompatible implicit declaration of built-in function 'free' [enabled by default] ui_common.c: In function 'analyse_data': ui_common.c:265:13: warning: variable 'tsent' set but not used [-Wunused-but-set-variable] int tsent, trecv; ui.c: In function 'draw_line_total': ui.c:197:22: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized] readable_size(n, buf, 10, 1024, bytes); ^ tui.c: In function 'tui_loop': tui.c:301:3: warning: label 'endloop' defined but not used [-Wunused-label] endloop: ^ tui.c:179:9: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system("/bin/stty cbreak -echo >/dev/null 2>&1"); ^ tui.c:302:9: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system("/bin/stty -cbreak echo >/dev/null 2>&1"); cfgfile.c:161:5: warning: implicit declaration of function 'strtol' [-Wimplicit-function-declaration] *value = strtol(s, &t, 10); ^ cfgfile.c: In function 'config_get_float': cfgfile.c:183:5: warning: implicit declaration of function 'strtod' [-Wimplicit-function-declaration] *value = strtod(s, &t); ^ cfgfile.c:172:11: warning: unused variable 'I' [-Wunused-variable] item *I; ^ cfgfile.c: In function 'read_config': cfgfile.c:248:11: warning: unused variable 'o' [-Wunused-variable] void* o;