=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for llnlxftp-2.1nb4 cc -O -I/usr/pkg/include -I /usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -c abort.c abort.c:70:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] show_abort_dialog() ^ abort.c:74:2: warning: implicit declaration of function 'add_dialog_to_list' is invalid in C99 [-Wimplicit-function-declaration] add_dialog_to_list(w_abortDialog); ^ abort.c:75:2: warning: implicit declaration of function 'force_update' is invalid in C99 [-Wimplicit-function-declaration] force_update(w_abortDialog); ^ abort.c:76:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ abort.c:83:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] hide_abort_dialog() ^ abort.c:86:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 6 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -c aconnect.c aconnect.c:151:2: warning: implicit declaration of function 'raise_okflag' is invalid in C99 [-Wimplicit-function-declaration] raise_okflag(); ^ aconnect.c:155:3: warning: implicit declaration of function 'disconnect' is invalid in C99 [-Wimplicit-function-declaration] disconnect(host); ^ aconnect.c:159:2: warning: implicit declaration of function 'update_aconnect_dialog' is invalid in C99 [-Wimplicit-function-declaration] update_aconnect_dialog(host); ^ aconnect.c:163:2: warning: implicit declaration of function 'add_dialog_to_list' is invalid in C99 [-Wimplicit-function-declaration] add_dialog_to_list(aconnect.w_dialog); ^ aconnect.c:234:2: warning: implicit declaration of function 'fix_list_color' is invalid in C99 [-Wimplicit-function-declaration] fix_list_color(aconnect.w_hostList); ^ aconnect.c:332:2: warning: implicit declaration of function 'set_bg_to_sb_trough_color' is invalid in C99 [-Wimplicit-function-declaration] set_bg_to_sb_trough_color(aconnect.w_hostName, ^ aconnect.c:346:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] update_aconnect_dialog(host) ^ aconnect.c:356:5: warning: implicit declaration of function 'retrieve_hostuser_cache' is invalid in C99 [-Wimplicit-function-declaration] retrieve_hostuser_cache(&list, sort_caches); ^ aconnect.c:359:5: warning: implicit declaration of function 'reset_list' is invalid in C99 [-Wimplicit-function-declaration] reset_list(aconnect.w_hostList); ^ aconnect.c:361:7: warning: implicit declaration of function 'parse_hostuser' is invalid in C99 [-Wimplicit-function-declaration] if (parse_hostuser(list->entries[i], &host_part, &user_part) == 0) { ^ aconnect.c:373:5: warning: implicit declaration of function 'release_array_list' is invalid in C99 [-Wimplicit-function-declaration] release_array_list(list); ^ aconnect.c:386:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ aconnect.c:425:3: warning: implicit declaration of function 'fatal_error' is invalid in C99 [-Wimplicit-function-declaration] fatal_error("Trouble in cb_aconnect_single_selection()"); ^ aconnect.c:444:5: warning: implicit declaration of function 'help_dialog' is invalid in C99 [-Wimplicit-function-declaration] help_dialog(aconnect.w_dialog, True, "Connect to Anonymous", aconnect_help); ^ aconnect.c:510:9: warning: implicit declaration of function 'warning_error' is invalid in C99 [-Wimplicit-function-declaration] warning_error("Unable to log onto FTP server. No user name."); ^ aconnect.c:516:13: warning: implicit declaration of function 'parse_hostname' is invalid in C99 [-Wimplicit-function-declaration] switch (parse_hostname(hostname, &host_part, &port_part)) { ^ aconnect.c:533:9: warning: implicit declaration of function 'add_to_cache' is invalid in C99 [-Wimplicit-function-declaration] add_to_cache(USER, hostname, username); ^ aconnect.c:538:12: warning: implicit declaration of function 'do_connect' is invalid in C99 [-Wimplicit-function-declaration] retval = do_connect(host, hostname, username, NULL, NULL, ^ aconnect.c:557:5: warning: implicit declaration of function 'use_busy_cursor' is invalid in C99 [-Wimplicit-function-declaration] use_busy_cursor(); ^ aconnect.c:560:9: warning: implicit declaration of function 'update_dir_displays' is invalid in C99 [-Wimplicit-function-declaration] if (update_dir_displays(host, False) < 0) { ^ aconnect.c:561:9: warning: implicit declaration of function 'restore_prev_cursor' is invalid in C99 [-Wimplicit-function-declaration] restore_prev_cursor(); ^ aconnect.c:562:9: warning: implicit declaration of function 'lost_connection' is invalid in C99 [-Wimplicit-function-declaration] lost_connection(host); ^ aconnect.c:565:5: warning: implicit declaration of function 'update_xfer_controls' is invalid in C99 [-Wimplicit-function-declaration] update_xfer_controls(); ^ aconnect.c:566:5: warning: implicit declaration of function 'update_dirname_menu' is invalid in C99 [-Wimplicit-function-declaration] update_dirname_menu(host); ^ aconnect.c:567:5: warning: implicit declaration of function 'update_dirpath' is invalid in C99 [-Wimplicit-function-declaration] update_dirpath(host); ^ aconnect.c:568:5: warning: implicit declaration of function 'update_dir_cache' is invalid in C99 [-Wimplicit-function-declaration] update_dir_cache(host); ^ aconnect.c:569:5: warning: implicit declaration of function 'update_hostname' is invalid in C99 [-Wimplicit-function-declaration] update_hostname(host); ^ aconnect.c:570:5: warning: implicit declaration of function 'update_host_controls' is invalid in C99 [-Wimplicit-function-declaration] update_host_controls(host); ^ 28 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -c account.c account.c:106:5: warning: implicit declaration of function 'add_wm_delete_window_cb' is invalid in C99 [-Wimplicit-function-declaration] add_wm_delete_window_cb(w_accountDialog, cb_account_cancel, NULL); ^ account.c:166:5: warning: implicit declaration of function 'add_dialog_to_list' is invalid in C99 [-Wimplicit-function-declaration] add_dialog_to_list(w_accountDialog); ^ account.c:167:5: warning: implicit declaration of function 'use_normal_cursor' is invalid in C99 [-Wimplicit-function-declaration] use_normal_cursor(); ^ account.c:172:5: warning: implicit declaration of function 'restore_prev_cursor' is invalid in C99 [-Wimplicit-function-declaration] restore_prev_cursor(); ^ account.c:196:5: warning: implicit declaration of function 'center_dialog_over_dialog' is invalid in C99 [-Wimplicit-function-declaration] center_dialog_over_dialog(widget, w_pseudo_parent); ^ 5 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -c arconnect.c arconnect.c:86:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] do_connect(host, hostname, username, password, account, w_pseudo_parent) ^ arconnect.c:105:2: warning: implicit declaration of function 'use_busy_cursor' is invalid in C99 [-Wimplicit-function-declaration] use_busy_cursor(); ^ arconnect.c:112:6: warning: implicit declaration of function 'parse_hostname' is invalid in C99 [-Wimplicit-function-declaration] if (parse_hostname(hostname, &host_part, &port_part)) ^ arconnect.c:113:3: warning: implicit declaration of function 'fatal_error' is invalid in C99 [-Wimplicit-function-declaration] fatal_error("Bug in do_connect()"); ^ arconnect.c:114:11: warning: implicit declaration of function 'ftp_open' is invalid in C99 [-Wimplicit-function-declaration] retval = ftp_open(host, host_part, port_part); ^ arconnect.c:117:3: warning: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' sprintf(buf, "Unable to connect to %s", hostname); ^ arconnect.c:117:3: note: include the header or explicitly provide a declaration for 'sprintf' arconnect.c:118:3: warning: implicit declaration of function 'warning_error' is invalid in C99 [-Wimplicit-function-declaration] warning_error(buf); ^ arconnect.c:119:3: warning: implicit declaration of function 'restore_prev_cursor' is invalid in C99 [-Wimplicit-function-declaration] restore_prev_cursor(); ^ arconnect.c:124:10: warning: implicit declaration of function 'ftp_user' is invalid in C99 [-Wimplicit-function-declaration] switch (ftp_user(host, username)) { ^ arconnect.c:131:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(hinfo[host].ctrl_fd); ^ arconnect.c:148:11: warning: implicit declaration of function 'ftp_password' is invalid in C99 [-Wimplicit-function-declaration] retval = ftp_password(host, passwrd); ^ arconnect.c:177:6: warning: implicit declaration of function 'ftp_account' is invalid in C99 [-Wimplicit-function-declaration] if (ftp_account(host, acct) < 0) { ^ arconnect.c:190:2: warning: implicit declaration of function 'ftp_system' is invalid in C99 [-Wimplicit-function-declaration] ftp_system(host, False); ^ arconnect.c:192:3: warning: implicit declaration of function 'write_log' is invalid in C99 [-Wimplicit-function-declaration] write_log("*** System is "); ^ arconnect.c:202:3: warning: implicit declaration of function 'retrieve_cache' is invalid in C99 [-Wimplicit-function-declaration] retrieve_cache(DIRECTORY, hostname, &list, False); ^ arconnect.c:204:8: warning: implicit declaration of function 'remote_cd' is invalid in C99 [-Wimplicit-function-declaration] if (remote_cd(host, list->entries[0], False, True) != 0) { ^ arconnect.c:210:3: warning: implicit declaration of function 'release_array_list' is invalid in C99 [-Wimplicit-function-declaration] release_array_list(list); ^ arconnect.c:212:6: warning: implicit declaration of function 'remote_pwd' is invalid in C99 [-Wimplicit-function-declaration] if (remote_pwd(host, &wd) < 0) { ^ arconnect.c:266:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] parse_hostname(hostname, host_part, port_part) ^ arconnect.c:320:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] parse_hostuser(hostuser, host_part, user_part) ^ 20 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -c cache.c cache.c:111:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] construct_cache_filename() ^ cache.c:119:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ cache.c:133:3: warning: implicit declaration of function 'warning_error' is invalid in C99 [-Wimplicit-function-declaration] warning_error("Unable to save cache."); ^ cache.c:170:3: warning: implicit declaration of function 'fatal_error' is invalid in C99 [-Wimplicit-function-declaration] fatal_error("Bug in read_cache_from_file()"); ^ cache.c:193:7: warning: implicit declaration of function 'add_to_cache' is invalid in C99 [-Wimplicit-function-declaration] add_to_cache(i, host_name, value); ^ cache.c:208:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] add_to_cache(cache_id, host_name, value) ^ cache.c:330:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ cache.c:381:3: warning: implicit declaration of function 'quicksort' is invalid in C99 [-Wimplicit-function-declaration] quicksort(values, hptr->cache[cache_id].count, strcmp); ^ cache.c:395:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] update_dir_cache(host) ^ cache.c:400:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ cache.c:412:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] retrieve_hostuser_cache(list, sort) ^ cache.c:462:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 12 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -c changedir.c changedir.c:116:5: warning: implicit declaration of function 'raise_okflag' is invalid in C99 [-Wimplicit-function-declaration] raise_okflag(); ^ changedir.c:120:5: warning: implicit declaration of function 'update_changedir_dialog' is invalid in C99 [-Wimplicit-function-declaration] update_changedir_dialog(host); ^ changedir.c:123:2: warning: implicit declaration of function 'add_dialog_to_list' is invalid in C99 [-Wimplicit-function-declaration] add_dialog_to_list(w_changeDirDialog); ^ changedir.c:155:2: warning: implicit declaration of function 'fix_list_color' is invalid in C99 [-Wimplicit-function-declaration] fix_list_color(w_list); ^ changedir.c:158:2: warning: implicit declaration of function 'set_bg_to_sb_trough_color' is invalid in C99 [-Wimplicit-function-declaration] set_bg_to_sb_trough_color( ^ changedir.c:172:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] update_changedir_dialog(host) ^ changedir.c:181:2: warning: implicit declaration of function 'retrieve_cache' is invalid in C99 [-Wimplicit-function-declaration] retrieve_cache(DIRECTORY, hinfo[host].hostname, &list, sort_caches); ^ changedir.c:196:2: warning: implicit declaration of function 'release_array_list' is invalid in C99 [-Wimplicit-function-declaration] release_array_list(list); ^ changedir.c:212:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ changedir.c:231:5: warning: implicit declaration of function 'clear_selected_entries' is invalid in C99 [-Wimplicit-function-declaration] clear_selected_entries(host); ^ changedir.c:253:5: warning: implicit declaration of function 'use_busy_cursor' is invalid in C99 [-Wimplicit-function-declaration] use_busy_cursor(); ^ changedir.c:258:17: warning: implicit declaration of function 'local_cd' is invalid in C99 [-Wimplicit-function-declaration] if (local_cd(host, hinfo[host].wd, True) < 0) { ^ changedir.c:259:17: warning: implicit declaration of function 'warning_error' is invalid in C99 [-Wimplicit-function-declaration] warning_error("Unable to change directory"); ^ changedir.c:263:21: warning: implicit declaration of function 'remote_cd' is invalid in C99 [-Wimplicit-function-declaration] switch (remote_cd(host, hinfo[host].wd, False, True)) { ^ changedir.c:268:17: warning: implicit declaration of function 'restore_prev_cursor' is invalid in C99 [-Wimplicit-function-declaration] restore_prev_cursor(); ^ changedir.c:269:17: warning: implicit declaration of function 'lost_connection' is invalid in C99 [-Wimplicit-function-declaration] lost_connection(host); ^ changedir.c:282:13: warning: implicit declaration of function 'local_pwd' is invalid in C99 [-Wimplicit-function-declaration] if (local_pwd(&(hinfo[host].wd)) != 0) ^ changedir.c:283:13: warning: implicit declaration of function 'fatal_error' is invalid in C99 [-Wimplicit-function-declaration] fatal_error("Unable to get local working directory"); ^ changedir.c:294:13: warning: implicit declaration of function 'remote_pwd' is invalid in C99 [-Wimplicit-function-declaration] if (remote_pwd(host, &wd) < 0) { ^ changedir.c:304:9: warning: implicit declaration of function 'update_dir_displays' is invalid in C99 [-Wimplicit-function-declaration] if (update_dir_displays(host, False) < 0) { ^ changedir.c:310:5: warning: implicit declaration of function 'update_xfer_controls' is invalid in C99 [-Wimplicit-function-declaration] update_xfer_controls(); ^ changedir.c:311:5: warning: implicit declaration of function 'update_dirname_menu' is invalid in C99 [-Wimplicit-function-declaration] update_dirname_menu(host); ^ changedir.c:312:5: warning: implicit declaration of function 'update_dirpath' is invalid in C99 [-Wimplicit-function-declaration] update_dirpath(host); ^ changedir.c:313:5: warning: implicit declaration of function 'update_dir_cache' is invalid in C99 [-Wimplicit-function-declaration] update_dir_cache(host); ^ changedir.c:314:5: warning: implicit declaration of function 'update_host_controls' is invalid in C99 [-Wimplicit-function-declaration] update_host_controls(host); ^ changedir.c:329:5: warning: implicit declaration of function 'help_dialog' is invalid in C99 [-Wimplicit-function-declaration] help_dialog(w_toplev, True, "Change Directory", help_change_dir); ^ 26 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -c cmds.c cmds.c:77:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ftp_open(host, ip_addr, port) ^ cmds.c:93:14: warning: implicit declaration of function 'inet_addr' is invalid in C99 [-Wimplicit-function-declaration] if ((temp = inet_addr(ip_addr)) != ~0L) ^ cmds.c:108:3: warning: implicit declaration of function 'write_log' is invalid in C99 [-Wimplicit-function-declaration] write_log(msg); ^ cmds.c:113:3: warning: implicit declaration of function 'report_perror' is invalid in C99 [-Wimplicit-function-declaration] report_perror(host, "Opening socket stream"); ^ cmds.c:120:6: warning: implicit declaration of function 'iconnect' is invalid in C99 [-Wimplicit-function-declaration] if (iconnect(ctrl_fd, (struct sockaddr *)&remote,(int)sizeof(remote)) < 0) { ^ cmds.c:122:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(ctrl_fd); ^ cmds.c:131:10: warning: implicit declaration of function 'get_ftp_reply' is invalid in C99 [-Wimplicit-function-declaration] scode = get_ftp_reply(host, reply, MAXFTPREPLY, &code, maxt, False); ^ cmds.c:134:3: warning: implicit declaration of function 'determine_server_from_open' is invalid in C99 [-Wimplicit-function-declaration] determine_server_from_open(host, reply); ^ cmds.c:137:3: warning: implicit declaration of function 'report_client_timeout' is invalid in C99 [-Wimplicit-function-declaration] report_client_timeout(host); ^ cmds.c:141:4: warning: implicit declaration of function 'print_ftp_reply' is invalid in C99 [-Wimplicit-function-declaration] print_ftp_reply(host, reply); ^ cmds.c:153:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ftp_user(host, username) ^ cmds.c:164:16: warning: implicit declaration of function 'send_ftp_cmd' is invalid in C99 [-Wimplicit-function-declaration] if ((retval = send_ftp_cmd(host, cmd)) < 0) ^ cmds.c:191:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ftp_password(host, password) ^ cmds.c:232:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ftp_account(host, account) ^ cmds.c:272:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ftp_passive(host, port) ^ cmds.c:321:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ftp_type(host, mode) ^ cmds.c:369:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ftp_port(host, hostport) ^ cmds.c:411:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ftp_system(host, print_error_msg) ^ cmds.c:428:3: warning: implicit declaration of function 'determine_server_from_syst' is invalid in C99 [-Wimplicit-function-declaration] determine_server_from_syst(host, reply); ^ cmds.c:448:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ftp_allocate(host, size) ^ 20 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -c color.c color.c:65:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] color_display() ^ color.c:132:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fix_horizontal_text_sb_color(widget) ^ color.c:142:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ color.c:150:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fix_vertical_text_sb_color(widget) ^ color.c:160:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 5 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -c ctrlconn.c ctrlconn.c:88:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] write_tcp(host, fd, buf, n) ^ ctrlconn.c:100:17: warning: implicit declaration of function 'iwrite' is invalid in C99 [-Wimplicit-function-declaration] if ((nbytes = iwrite(fd, &buf[total_nbytes], n-total_nbytes)) < 0) { ^ ctrlconn.c:102:4: warning: implicit declaration of function 'report_perror' is invalid in C99 [-Wimplicit-function-declaration] report_perror(host, "Writing connection"); ^ ctrlconn.c:123:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] read_tcp(host, fd, buf, n, maxtime, process_xevents) ^ ctrlconn.c:137:11: warning: implicit declaration of function 'select_on_read' is invalid in C99 [-Wimplicit-function-declaration] switch (select_on_read(fd, maxtime, process_xevents)) { ^ ctrlconn.c:139:21: warning: implicit declaration of function 'iread' is invalid in C99 [-Wimplicit-function-declaration] if ((nbytes = iread(fd, &buf[total_nbytes], n-total_nbytes)) < 0) { ^ ctrlconn.c:169:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] select_on_read(fd, maxtime, process_xevents) ^ ctrlconn.c:198:17: warning: implicit declaration of function 'max_fds' is invalid in C99 [-Wimplicit-function-declaration] nfds = select(max_fds(), &readfds, NULL, &exceptfds, &timeout); ^ ctrlconn.c:224:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] get_ftp_reply(host, reply, maxreply, code, maxtime, process_xevents) ^ ctrlconn.c:246:20: warning: implicit declaration of function 'get_ftp_line' is invalid in C99 [-Wimplicit-function-declaration] if ((replycode = get_ftp_line(host, fd, line, MAXFTPLINE, maxtime, ^ ctrlconn.c:266:3: warning: implicit declaration of function 'print_ftp_reply' is invalid in C99 [-Wimplicit-function-declaration] print_ftp_reply(host, reply); ^ ctrlconn.c:272:4: warning: implicit declaration of function 'write_log' is invalid in C99 [-Wimplicit-function-declaration] write_log("*** FTP server on remote host timed out.\n"); ^ ctrlconn.c:300:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] get_ftp_line(host, fd, line, maxline, maxtime, process_xevents) ^ ctrlconn.c:376:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] send_ftp_cmd(host, cmd) ^ ctrlconn.c:386:3: warning: implicit declaration of function 'print_ftp_cmd' is invalid in C99 [-Wimplicit-function-declaration] print_ftp_cmd(host,cmd); ^ ctrlconn.c:404:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] sig_pipe() ^ ctrlconn.c:407:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ctrlconn.c:417:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] urgent_abort(host) ^ ctrlconn.c:435:6: warning: implicit declaration of function 'isend' is invalid in C99 [-Wimplicit-function-declaration] if (isend(fd, buf, 1, MSG_OOB) != 1) ^ 19 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -c cursor.c cursor.c:112:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] use_busy_cursor() ^ cursor.c:115:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ cursor.c:121:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] use_normal_cursor() ^ cursor.c:124:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ cursor.c:234:2: warning: implicit declaration of function 'fatal_error' is invalid in C99 [-Wimplicit-function-declaration] fatal_error("Bug in remove_dialog_from_list()"); ^ 5 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -c dataconn.c dataconn.c:70:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] init_data_conn(host) ^ dataconn.c:84:9: warning: implicit declaration of function 'report_perror' is invalid in C99 [-Wimplicit-function-declaration] report_perror(host, "Opening stream socket"); ^ dataconn.c:94:65: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname(hinfo[host].ctrl_fd, (struct sockaddr *)&data, &addrlen) ^~~~~~~~ /usr/include/sys/socket.h:646:74: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ dataconn.c:98:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(sock); ^ dataconn.c:119:50: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname(sock, (struct sockaddr *)&data, &addrlen) < 0) { ^~~~~~~~ /usr/include/sys/socket.h:646:74: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ dataconn.c:131:16: warning: implicit declaration of function 'ftp_port' is invalid in C99 [-Wimplicit-function-declaration] if ((retval = ftp_port(host, buf)) < 0) { ^ dataconn.c:146:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] accept_data_conn(host, data_fd) ^ dataconn.c:156:3: warning: implicit declaration of function 'write_log' is invalid in C99 [-Wimplicit-function-declaration] write_log("*** Will try to accept connection\n"); ^ dataconn.c:158:16: warning: implicit declaration of function 'iaccept' is invalid in C99 [-Wimplicit-function-declaration] new_data_fd = iaccept(data_fd, (struct sockaddr *)&remote, &addrlen); ^ 9 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -c delete.c delete.c:123:2: warning: implicit declaration of function 'raise_okflag' is invalid in C99 [-Wimplicit-function-declaration] raise_okflag(); ^ delete.c:128:13: warning: implicit declaration of function 'verify_selection' is invalid in C99 [-Wimplicit-function-declaration] retval = verify_selection(host, ^ delete.c:138:2: warning: implicit declaration of function 'use_busy_cursor' is invalid in C99 [-Wimplicit-function-declaration] use_busy_cursor(); ^ delete.c:141:2: warning: implicit declaration of function 'show_mp_monitor' is invalid in C99 [-Wimplicit-function-declaration] show_mp_monitor("Now Deleting:"); ^ delete.c:142:2: warning: implicit declaration of function 'clear_mp_monitor' is invalid in C99 [-Wimplicit-function-declaration] clear_mp_monitor(); ^ delete.c:145:2: warning: implicit declaration of function 'enable_controls' is invalid in C99 [-Wimplicit-function-declaration] enable_controls(False); ^ delete.c:158:9: warning: implicit declaration of function 'strip_off_symbol' is invalid in C99 [-Wimplicit-function-declaration] strip_off_symbol(hinfo[host].system, hinfo[host].server, ptr->entry); ^ delete.c:179:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] clean_up_del_ctrl() ^ delete.c:194:3: warning: implicit declaration of function 'release_linked_list' is invalid in C99 [-Wimplicit-function-declaration] release_linked_list(&del_ctrl.head[i]); ^ delete.c:195:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ delete.c:203:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] cb_delete_entries() ^ delete.c:223:6: warning: implicit declaration of function 'mp_abort_requested' is invalid in C99 [-Wimplicit-function-declaration] if (mp_abort_requested()) ^ delete.c:242:2: warning: implicit declaration of function 'release_path_links' is invalid in C99 [-Wimplicit-function-declaration] release_path_links(rel_path_links); ^ delete.c:252:8: warning: implicit declaration of function 'local_cd' is invalid in C99 [-Wimplicit-function-declaration] if (local_cd(host, del_ctrl.full_path, False) == 0) ^ delete.c:255:12: warning: implicit declaration of function 'remote_cd' is invalid in C99 [-Wimplicit-function-declaration] switch (remote_cd(host, del_ctrl.full_path, True, False)) { ^ delete.c:264:9: warning: implicit declaration of function 'local_ls' is invalid in C99 [-Wimplicit-function-declaration] if (local_ls(del_ctrl.full_path, &list, False) != 0) { ^ delete.c:265:6: warning: implicit declaration of function 'warning_error' is invalid in C99 [-Wimplicit-function-declaration] warning_error("Unable to get directory list"); ^ delete.c:269:13: warning: implicit declaration of function 'remote_ls' is invalid in C99 [-Wimplicit-function-declaration] switch (remote_ls(host, del_ctrl.full_path, &list, False)) { ^ delete.c:290:4: warning: implicit declaration of function 'release_array_list' is invalid in C99 [-Wimplicit-function-declaration] release_array_list(list); ^ delete.c:298:2: warning: implicit declaration of function 'update_mp_monitor' is invalid in C99 [-Wimplicit-function-declaration] update_mp_monitor(del_ctrl.rel_path); ^ delete.c:300:12: warning: implicit declaration of function 'local_delete' is invalid in C99 [-Wimplicit-function-declaration] retval = local_delete(host, del_ctrl.full_path); ^ delete.c:309:6: warning: implicit declaration of function 'fatal_error' is invalid in C99 [-Wimplicit-function-declaration] fatal_error("Trouble in cb_delete_entries()"); ^ delete.c:313:14: warning: implicit declaration of function 'remote_rmdir' is invalid in C99 [-Wimplicit-function-declaration] retval = remote_rmdir(host, temp, True); ^ delete.c:325:14: warning: implicit declaration of function 'remote_delete' is invalid in C99 [-Wimplicit-function-declaration] retval = remote_delete(host, del_ctrl.full_path, True); ^ delete.c:340:10: warning: implicit declaration of function 'write_log' is invalid in C99 [-Wimplicit-function-declaration] write_log(msg); ^ delete.c:354:2: warning: implicit declaration of function 'hide_mp_monitor' is invalid in C99 [-Wimplicit-function-declaration] hide_mp_monitor(); ^ delete.c:356:3: warning: implicit declaration of function 'hide_abort_dialog' is invalid in C99 [-Wimplicit-function-declaration] hide_abort_dialog(); ^ delete.c:358:6: warning: implicit declaration of function 'update_dir_displays' is invalid in C99 [-Wimplicit-function-declaration] if (update_dir_displays(host, False) < 0) ^ delete.c:360:2: warning: implicit declaration of function 'update_xfer_controls' is invalid in C99 [-Wimplicit-function-declaration] update_xfer_controls(); ^ delete.c:361:2: warning: implicit declaration of function 'update_host_controls' is invalid in C99 [-Wimplicit-function-declaration] update_host_controls(host); ^ delete.c:363:3: warning: implicit declaration of function 'beep' is invalid in C99 [-Wimplicit-function-declaration] beep(); ^ delete.c:364:2: warning: implicit declaration of function 'restore_prev_cursor' is invalid in C99 [-Wimplicit-function-declaration] restore_prev_cursor(); ^ delete.c:392:2: warning: implicit declaration of function 'clear_selected_entries' is invalid in C99 [-Wimplicit-function-declaration] clear_selected_entries(host); ^ delete.c:394:2: warning: implicit declaration of function 'lost_connection' is invalid in C99 [-Wimplicit-function-declaration] lost_connection(host); ^ 34 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -c destdir.c destdir.c:212:5: warning: implicit declaration of function 'fix_list_color' is invalid in C99 [-Wimplicit-function-declaration] fix_list_color(destdir.w_dirList); ^ destdir.c:243:5: warning: implicit declaration of function 'raise_okflag' is invalid in C99 [-Wimplicit-function-declaration] raise_okflag(); ^ destdir.c:255:5: warning: implicit declaration of function 'release_path_links' is invalid in C99 [-Wimplicit-function-declaration] release_path_links(wd_links); ^ destdir.c:258:5: warning: implicit declaration of function 'use_busy_cursor' is invalid in C99 [-Wimplicit-function-declaration] use_busy_cursor(); ^ destdir.c:259:11: warning: implicit declaration of function 'change_destdir_directory' is invalid in C99 [-Wimplicit-function-declaration] retval = change_destdir_directory(new_wd); ^ destdir.c:260:2: warning: implicit declaration of function 'restore_prev_cursor' is invalid in C99 [-Wimplicit-function-declaration] restore_prev_cursor(); ^ destdir.c:264:9: warning: implicit declaration of function 'warning_error' is invalid in C99 [-Wimplicit-function-declaration] warning_error("Unable to change directory"); ^ destdir.c:268:9: warning: implicit declaration of function 'lost_connection' is invalid in C99 [-Wimplicit-function-declaration] lost_connection(destdir.host); ^ destdir.c:294:2: warning: implicit declaration of function 'strip_off_symbol' is invalid in C99 [-Wimplicit-function-declaration] strip_off_symbol(destdir.system, destdir.server, entry); ^ destdir.c:319:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] update_destdir_dirname_menu() ^ destdir.c:368:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ destdir.c:377:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] update_destdir_dirlist() ^ destdir.c:390:3: warning: implicit declaration of function 'fatal_error' is invalid in C99 [-Wimplicit-function-declaration] fatal_error("Bug in update_destdir_dirlist()"); ^ destdir.c:392:13: warning: implicit declaration of function 'local_ls' is invalid in C99 [-Wimplicit-function-declaration] if (local_ls(destdir.wd, &dlist, symbol_mode) != 0) ^ destdir.c:396:23: warning: implicit declaration of function 'remote_ls' is invalid in C99 [-Wimplicit-function-declaration] if ((retval = remote_ls(destdir.host, destdir.wd, &dlist, ^ destdir.c:404:5: warning: implicit declaration of function 'reset_list' is invalid in C99 [-Wimplicit-function-declaration] reset_list(destdir.w_dirList); ^ destdir.c:414:5: warning: implicit declaration of function 'release_array_list' is invalid in C99 [-Wimplicit-function-declaration] release_array_list(dlist); ^ destdir.c:426:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] change_destdir_directory(new_wd) ^ destdir.c:434:13: warning: implicit declaration of function 'local_cd' is invalid in C99 [-Wimplicit-function-declaration] if (local_cd(destdir.host, new_wd, True) < 0) ^ destdir.c:438:13: warning: implicit declaration of function 'local_pwd' is invalid in C99 [-Wimplicit-function-declaration] if (local_pwd(&destdir.wd) != 0) ^ destdir.c:441:17: warning: implicit declaration of function 'remote_cd' is invalid in C99 [-Wimplicit-function-declaration] if ((retval = remote_cd(destdir.host, new_wd, False, True)) < 0) ^ destdir.c:443:13: warning: implicit declaration of function 'remote_pwd' is invalid in C99 [-Wimplicit-function-declaration] if (remote_pwd(destdir.host, &wd) < 0) ^ destdir.c:509:13: warning: implicit declaration of function 'add_dialog_to_list' is invalid in C99 [-Wimplicit-function-declaration] add_dialog_to_list(destdir.w_dialog); ^ destdir.c:592:5: warning: implicit declaration of function 'center_dialog_over_dialog' is invalid in C99 [-Wimplicit-function-declaration] center_dialog_over_dialog(widget, destdir.pseudo_parent); ^ 24 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -c dirlist.c dirlist.c:77:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] update_dir_displays(host, preserve) ^ dirlist.c:89:2: warning: implicit declaration of function 'use_busy_cursor' is invalid in C99 [-Wimplicit-function-declaration] use_busy_cursor(); ^ dirlist.c:97:7: warning: implicit declaration of function 'local_ls' is invalid in C99 [-Wimplicit-function-declaration] if (local_ls(hinfo[host].wd, &dlist, symbol_mode) != 0) ^ dirlist.c:98:4: warning: implicit declaration of function 'fatal_error' is invalid in C99 [-Wimplicit-function-declaration] fatal_error("Unable to get local directory list"); ^ dirlist.c:101:17: warning: implicit declaration of function 'remote_ls' is invalid in C99 [-Wimplicit-function-declaration] if ((retval = remote_ls(host, hinfo[host].wd, &dlist, symbol_mode))) { ^ dirlist.c:102:4: warning: implicit declaration of function 'restore_prev_cursor' is invalid in C99 [-Wimplicit-function-declaration] restore_prev_cursor(); ^ dirlist.c:121:2: warning: implicit declaration of function 'update_dirlist' is invalid in C99 [-Wimplicit-function-declaration] update_dirlist(host, dlist); ^ dirlist.c:124:6: warning: implicit declaration of function 'dirtable_in_use' is invalid in C99 [-Wimplicit-function-declaration] if (dirtable_in_use(host)) ^ dirlist.c:125:3: warning: implicit declaration of function 'update_dirtable' is invalid in C99 [-Wimplicit-function-declaration] update_dirtable(host, dlist); ^ dirlist.c:128:2: warning: implicit declaration of function 'release_array_list' is invalid in C99 [-Wimplicit-function-declaration] release_array_list(dlist); ^ dirlist.c:140:16: warning: implicit declaration of function 'update_dirlong' is invalid in C99 [-Wimplicit-function-declaration] if ((retval = update_dirlong(host)) < 0) { ^ dirlist.c:154:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] update_dirlist(host, dlist) ^ dirlist.c:162:2: warning: implicit declaration of function 'reset_list' is invalid in C99 [-Wimplicit-function-declaration] reset_list(w_dirList[host]); ^ dirlist.c:170:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ dirlist.c:177:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] reset_list(w_list) ^ dirlist.c:182:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ dirlist.c:203:2: warning: implicit declaration of function 'raise_okflag' is invalid in C99 [-Wimplicit-function-declaration] raise_okflag(); ^ dirlist.c:206:2: warning: implicit declaration of function 'clear_selected_entries' is invalid in C99 [-Wimplicit-function-declaration] clear_selected_entries(host); ^ dirlist.c:210:2: warning: implicit declaration of function 'strip_off_symbol' is invalid in C99 [-Wimplicit-function-declaration] strip_off_symbol(hinfo[host].system, hinfo[host].server, entry); ^ dirlist.c:217:2: warning: implicit declaration of function 'change_directory' is invalid in C99 [-Wimplicit-function-declaration] change_directory(host, new_wd); ^ dirlist.c:246:5: warning: implicit declaration of function 'select_table_entry' is invalid in C99 [-Wimplicit-function-declaration] select_table_entry(host, cbs->item_position-1); ^ dirlist.c:250:4: warning: implicit declaration of function 'deselect_table_entry' is invalid in C99 [-Wimplicit-function-declaration] deselect_table_entry(host, cbs->item_position-1); ^ dirlist.c:260:5: warning: implicit declaration of function 'update_xfer_controls' is invalid in C99 [-Wimplicit-function-declaration] update_xfer_controls(); ^ dirlist.c:262:6: warning: implicit declaration of function 'update_host_controls' is invalid in C99 [-Wimplicit-function-declaration] update_host_controls(i); ^ dirlist.c:270:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] clear_selected_entries(host) ^ dirlist.c:277:3: warning: implicit declaration of function 'clear_selected_table_entries' is invalid in C99 [-Wimplicit-function-declaration] clear_selected_table_entries(host); ^ dirlist.c:278:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 27 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -c dirlong.c dirlong.c:124:2: warning: implicit declaration of function 'raise_okflag' is invalid in C99 [-Wimplicit-function-declaration] raise_okflag(); ^ dirlong.c:129:5: warning: implicit declaration of function 'add_dialog_to_list' is invalid in C99 [-Wimplicit-function-declaration] add_dialog_to_list(dirlong[host].w_dialog); ^ dirlong.c:132:9: warning: implicit declaration of function 'update_dir_displays' is invalid in C99 [-Wimplicit-function-declaration] if (update_dir_displays(host, True) < 0) ^ dirlong.c:133:9: warning: implicit declaration of function 'lost_connection' is invalid in C99 [-Wimplicit-function-declaration] lost_connection(host); ^ dirlong.c:227:5: warning: implicit declaration of function 'fix_vertical_text_sb_color' is invalid in C99 [-Wimplicit-function-declaration] fix_vertical_text_sb_color(dirlong[host].w_list); ^ dirlong.c:228:5: warning: implicit declaration of function 'fix_horizontal_text_sb_color' is invalid in C99 [-Wimplicit-function-declaration] fix_horizontal_text_sb_color(dirlong[host].w_list); ^ dirlong.c:229:2: warning: implicit declaration of function 'set_bg_to_sb_trough_color' is invalid in C99 [-Wimplicit-function-declaration] set_bg_to_sb_trough_color(dirlong[host].w_list, ^ dirlong.c:255:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] update_dirlong(host) ^ dirlong.c:275:13: warning: implicit declaration of function 'local_dir' is invalid in C99 [-Wimplicit-function-declaration] if (local_dir(hinfo[host].wd, &dlist) != 0) ^ dirlong.c:276:13: warning: implicit declaration of function 'fatal_error' is invalid in C99 [-Wimplicit-function-declaration] fatal_error("Unable to get local directory list"); ^ dirlong.c:279:23: warning: implicit declaration of function 'remote_dir' is invalid in C99 [-Wimplicit-function-declaration] if ((retval = remote_dir(host, hinfo[host].wd, &dlist))) ^ dirlong.c:300:2: warning: implicit declaration of function 'release_array_list' is invalid in C99 [-Wimplicit-function-declaration] release_array_list(dlist); ^ dirlong.c:320:5: warning: implicit declaration of function 'help_dialog' is invalid in C99 [-Wimplicit-function-declaration] help_dialog(dirlong[host].w_dialog, False, text, dirlong_help); ^ 13 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -c dirname.c dirname.c:126:5: warning: implicit declaration of function 'release_path_links' is invalid in C99 [-Wimplicit-function-declaration] release_path_links(wd_links); ^ dirname.c:155:2: warning: implicit declaration of function 'raise_okflag' is invalid in C99 [-Wimplicit-function-declaration] raise_okflag(); ^ dirname.c:174:2: warning: implicit declaration of function 'change_directory' is invalid in C99 [-Wimplicit-function-declaration] change_directory(host, new_wd); ^ 3 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -c dirpath.c dirpath.c:99:2: warning: implicit declaration of function 'raise_okflag' is invalid in C99 [-Wimplicit-function-declaration] raise_okflag(); ^ dirpath.c:106:2: warning: implicit declaration of function 'add_dialog_to_list' is invalid in C99 [-Wimplicit-function-declaration] add_dialog_to_list(dirpath[host].w_dialog); ^ 2 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -c dirtable.c dirtable.c:152:2: warning: implicit declaration of function 'raise_okflag' is invalid in C99 [-Wimplicit-function-declaration] raise_okflag(); ^ dirtable.c:157:2: warning: implicit declaration of function 'add_dialog_to_list' is invalid in C99 [-Wimplicit-function-declaration] add_dialog_to_list(dirtable[host].w_dialog); ^ dirtable.c:158:2: warning: implicit declaration of function 'force_update' is invalid in C99 [-Wimplicit-function-declaration] force_update(dirtable[host].w_drawingArea); ^ dirtable.c:161:9: warning: implicit declaration of function 'update_dir_displays' is invalid in C99 [-Wimplicit-function-declaration] if (update_dir_displays(host, True) < 0) ^ dirtable.c:162:9: warning: implicit declaration of function 'lost_connection' is invalid in C99 [-Wimplicit-function-declaration] lost_connection(host); ^ dirtable.c:198:2: warning: implicit declaration of function 'add_wm_delete_window_cb' is invalid in C99 [-Wimplicit-function-declaration] add_wm_delete_window_cb(dirtable[host].w_dialog, cb_dirtable_close, ^ dirtable.c:303:9: warning: implicit declaration of function 'fatal_error' is invalid in C99 [-Wimplicit-function-declaration] fatal_error("Unable to get font"); ^ dirtable.c:342:2: warning: implicit declaration of function 'calc_dirtable_geometry' is invalid in C99 [-Wimplicit-function-declaration] calc_dirtable_geometry(host); ^ dirtable.c:377:9: warning: implicit declaration of function 'entry_index' is invalid in C99 [-Wimplicit-function-declaration] indx = entry_index(host, event->x, event->y); ^ dirtable.c:381:22: warning: implicit declaration of function 'point_in_clipwindow' is invalid in C99 [-Wimplicit-function-declaration] if (indx == -1 || !point_in_clipwindow(host, event->x, event->y)) ^ dirtable.c:384:4: warning: implicit declaration of function 'toggle_table_entry' is invalid in C99 [-Wimplicit-function-declaration] toggle_table_entry(host, indx); ^ dirtable.c:408:2: warning: implicit declaration of function 'clear_selected_entries' is invalid in C99 [-Wimplicit-function-declaration] clear_selected_entries(host); ^ dirtable.c:412:2: warning: implicit declaration of function 'strip_off_symbol' is invalid in C99 [-Wimplicit-function-declaration] strip_off_symbol(hinfo[host].system, hinfo[host].server, entry); ^ dirtable.c:419:5: warning: implicit declaration of function 'change_directory' is invalid in C99 [-Wimplicit-function-declaration] change_directory(host, new_wd); ^ dirtable.c:431:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] update_dirtable(host, dlist) ^ dirtable.c:439:2: warning: implicit declaration of function 'delete_dirtable_entries' is invalid in C99 [-Wimplicit-function-declaration] delete_dirtable_entries(host); ^ dirtable.c:467:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ dirtable.c:501:5: warning: implicit declaration of function 'help_dialog' is invalid in C99 [-Wimplicit-function-declaration] help_dialog(dirtable[host].w_dialog, False, text, dirtable_help); ^ dirtable.c:509:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] delete_dirtable_entries(host) ^ dirtable.c:521:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ dirtable.c:528:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] select_table_entry(host, indx) ^ dirtable.c:533:2: warning: implicit declaration of function 'draw_entry' is invalid in C99 [-Wimplicit-function-declaration] draw_entry(host, indx); ^ dirtable.c:534:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ dirtable.c:541:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] deselect_table_entry(host, indx) ^ dirtable.c:547:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ dirtable.c:555:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] toggle_table_entry(host, indx) ^ dirtable.c:581:2: warning: implicit declaration of function 'update_xfer_controls' is invalid in C99 [-Wimplicit-function-declaration] update_xfer_controls(); ^ dirtable.c:583:9: warning: implicit declaration of function 'update_host_controls' is invalid in C99 [-Wimplicit-function-declaration] update_host_controls(i); ^ dirtable.c:584:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ dirtable.c:591:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] dirtable_in_use(host) ^ dirtable.c:605:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] clear_selected_table_entries(host) ^ dirtable.c:613:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ dirtable.c:669:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] calc_dirtable_geometry(host) ^ dirtable.c:723:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ dirtable.c:730:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] draw_entry(host, indx) ^ dirtable.c:755:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ dirtable.c:762:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] entry_index(host, x, y) ^ dirtable.c:810:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] point_in_clipwindow(host, x, y) ^ dirtable.c:854:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] enable_dirtable(host, enable) ^ dirtable.c:859:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 40 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -c fallbacks.c cc -O -I/usr/pkg/include -I /usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -c flag.c flag.c:71:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] init_result_flag() ^ flag.c:83:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ flag.c:89:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] raise_okflag() ^ flag.c:102:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ flag.c:108:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] raise_errorflag() ^ flag.c:121:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 6 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -c force.c force.c:31:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] force_update(w) ^ force.c:77:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 2 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -c get.c get.c:83:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] init_get() ^ get.c:107:2: warning: implicit declaration of function 'snk_paths_of_xfer_node' is invalid in C99 [-Wimplicit-function-declaration] snk_paths_of_xfer_node(xc.current_node, NULL, &tmp_snk_path); ^ get.c:125:3: warning: implicit declaration of function 'parse_path' is invalid in C99 [-Wimplicit-function-declaration] parse_path(SYS_UNIX, snk_path, &dir, NULL); ^ get.c:126:12: warning: implicit declaration of function 'local_mkdir' is invalid in C99 [-Wimplicit-function-declaration] retval = local_mkdir(xc.snk_host, dir, 0700); ^ get.c:133:7: warning: implicit declaration of function 'can_create_sinkfile' is invalid in C99 [-Wimplicit-function-declaration] if (!can_create_sinkfile(xc.snk_host, snk_path)) ^ get.c:137:2: warning: implicit declaration of function 'src_paths_of_xfer_node' is invalid in C99 [-Wimplicit-function-declaration] src_paths_of_xfer_node(xc.current_node, NULL, &full_path); ^ get.c:140:14: warning: implicit declaration of function 'remote_cd' is invalid in C99 [-Wimplicit-function-declaration] retval = remote_cd(xc.src_host, src_dir, True, True); ^ get.c:154:14: warning: implicit declaration of function 'init_data_conn' is invalid in C99 [-Wimplicit-function-declaration] if ((sock = init_data_conn(xc.src_host)) < 0) { ^ get.c:162:16: warning: implicit declaration of function 'send_ftp_cmd' is invalid in C99 [-Wimplicit-function-declaration] if ((retval = send_ftp_cmd(xc.src_host, cmd)) < 0) { ^ get.c:168:10: warning: implicit declaration of function 'get_ftp_reply' is invalid in C99 [-Wimplicit-function-declaration] scode = get_ftp_reply(xc.src_host, reply, MAXFTPREPLY, &code, maxt, True); ^ get.c:175:4: warning: implicit declaration of function 'print_ftp_reply' is invalid in C99 [-Wimplicit-function-declaration] print_ftp_reply(xc.src_host, reply); ^ get.c:182:3: warning: implicit declaration of function 'report_client_timeout' is invalid in C99 [-Wimplicit-function-declaration] report_client_timeout(xc.src_host); ^ get.c:191:12: warning: implicit declaration of function 'accept_data_conn' is invalid in C99 [-Wimplicit-function-declaration] data_fd = accept_data_conn(xc.src_host, sock); ^ get.c:210:3: warning: implicit declaration of function 'report_perror' is invalid in C99 [-Wimplicit-function-declaration] report_perror(xc.snk_host, snk_path); ^ get.c:211:10: warning: implicit declaration of function 'abort_get' is invalid in C99 [-Wimplicit-function-declaration] return abort_get(); ^ get.c:216:9: warning: implicit declaration of function 'fatal_error' is invalid in C99 [-Wimplicit-function-declaration] fatal_error("Programming bug in init_get() involving tcpbuf"); ^ get.c:234:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] do_get() ^ get.c:246:20: warning: implicit declaration of function 'read_tcp' is invalid in C99 [-Wimplicit-function-declaration] switch (nbytes = read_tcp(xc.src_host, xc.data_fd, tcpbuf, ^ get.c:296:8: warning: implicit declaration of function 'iwrite' is invalid in C99 [-Wimplicit-function-declaration] if (iwrite(fileno(xc.snk_fp), tcpbuf, nbytes) != nbytes) { ^ get.c:343:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] abort_get() ^ get.c:354:2: warning: implicit declaration of function 'urgent_abort' is invalid in C99 [-Wimplicit-function-declaration] urgent_abort(xc.src_host); ^ 21 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -c goto.c goto.c:82:2: warning: implicit declaration of function 'raise_okflag' is invalid in C99 [-Wimplicit-function-declaration] raise_okflag(); ^ goto.c:89:2: warning: implicit declaration of function 'change_directory' is invalid in C99 [-Wimplicit-function-declaration] change_directory(host, new_wd); ^ goto.c:98:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] initialize_goto_menu(host) ^ goto.c:122:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ goto.c:144:5: warning: implicit declaration of function 'retrieve_cache' is invalid in C99 [-Wimplicit-function-declaration] retrieve_cache(DIRECTORY, hinfo[host].hostname, &list, sort_caches); ^ goto.c:156:2: warning: implicit declaration of function 'release_array_list' is invalid in C99 [-Wimplicit-function-declaration] release_array_list(list); ^ 6 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -c help.c help.c:102:5: warning: implicit declaration of function 'raise_okflag' is invalid in C99 [-Wimplicit-function-declaration] raise_okflag(); ^ help.c:119:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] help_dialog(w_parent, modal, topic, text) ^ help.c:140:2: warning: implicit declaration of function 'add_dialog_to_list' is invalid in C99 [-Wimplicit-function-declaration] add_dialog_to_list(current_help->w_dialog); ^ help.c:168:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ help.c:193:2: warning: implicit declaration of function 'add_wm_delete_window_cb' is invalid in C99 [-Wimplicit-function-declaration] add_wm_delete_window_cb(help->w_dialog, cb_help_close, NULL); ^ help.c:253:2: warning: implicit declaration of function 'fix_vertical_text_sb_color' is invalid in C99 [-Wimplicit-function-declaration] fix_vertical_text_sb_color(help->w_text); ^ help.c:254:2: warning: implicit declaration of function 'set_bg_to_sb_trough_color' is invalid in C99 [-Wimplicit-function-declaration] set_bg_to_sb_trough_color(help->w_text, ^ help.c:317:3: warning: implicit declaration of function 'fatal_error' is invalid in C99 [-Wimplicit-function-declaration] fatal_error("*** Bug in cb_help_close()"); ^ help.c:332:3: warning: implicit declaration of function 'remove_dialog_from_list' is invalid in C99 [-Wimplicit-function-declaration] remove_dialog_from_list(old_help->w_dialog); ^ 9 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -c host.c host.c:78:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] update_hostname(host) ^ host.c:91:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ host.c:116:2: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(hinfo[host].ctrl_fd); ^ host.c:120:2: warning: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' sprintf(msg, "Lost connection to \"%s\" host. Do you wish to reconnect?\n(If so, you might need to resubmit your last command.)", ^ host.c:120:2: note: include the header or explicitly provide a declaration for 'sprintf' host.c:122:2: warning: implicit declaration of function 'use_normal_cursor' is invalid in C99 [-Wimplicit-function-declaration] use_normal_cursor(); ^ host.c:123:6: warning: implicit declaration of function 'question_dialog' is invalid in C99 [-Wimplicit-function-declaration] if (question_dialog(msg) == False) { ^ host.c:124:7: warning: implicit declaration of function 'update_dir_displays' is invalid in C99 [-Wimplicit-function-declaration] if (update_dir_displays(host, False) < 0) ^ host.c:125:4: warning: implicit declaration of function 'fatal_error' is invalid in C99 [-Wimplicit-function-declaration] fatal_error("Programming bug in lost_connection()"); ^ host.c:126:3: warning: implicit declaration of function 'update_xfer_controls' is invalid in C99 [-Wimplicit-function-declaration] update_xfer_controls(); ^ host.c:127:3: warning: implicit declaration of function 'update_dirname_menu' is invalid in C99 [-Wimplicit-function-declaration] update_dirname_menu(host); ^ host.c:128:3: warning: implicit declaration of function 'update_dirpath' is invalid in C99 [-Wimplicit-function-declaration] update_dirpath(host); ^ host.c:130:3: warning: implicit declaration of function 'update_host_controls' is invalid in C99 [-Wimplicit-function-declaration] update_host_controls(host); ^ host.c:131:3: warning: implicit declaration of function 'restore_prev_cursor' is invalid in C99 [-Wimplicit-function-declaration] restore_prev_cursor(); ^ host.c:137:2: warning: implicit declaration of function 'use_busy_cursor' is invalid in C99 [-Wimplicit-function-declaration] use_busy_cursor(); ^ host.c:158:11: warning: implicit declaration of function 'do_connect' is invalid in C99 [-Wimplicit-function-declaration] retval = do_connect(host, hostname, username, password, account, NULL); ^ host.c:164:6: warning: implicit declaration of function 'remote_cd' is invalid in C99 [-Wimplicit-function-declaration] || remote_cd(host, wd, False, True) < 0 ^ host.c:165:6: warning: implicit declaration of function 'remote_pwd' is invalid in C99 [-Wimplicit-function-declaration] || remote_pwd(host, ¤t_wd) < 0) { ^ host.c:187:3: warning: implicit declaration of function 'warning_error' is invalid in C99 [-Wimplicit-function-declaration] warning_error("Unable to reconnect to remote host"); ^ host.c:194:4: warning: implicit declaration of function 'XmListSelectItem' is invalid in C99 [-Wimplicit-function-declaration] XmListSelectItem(w_dirList[host], sitems[i], True); ^ host.c:220:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] update_host_controls(host) ^ host.c:235:23: warning: implicit declaration of function 'host_selected' is invalid in C99 [-Wimplicit-function-declaration] sensitivity = host_selected(host); ^ host.c:252:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ host.c:259:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] host_selected(host) ^ host.c:262:9: warning: implicit declaration of function 'selection_count' is invalid in C99 [-Wimplicit-function-declaration] if (selection_count(host)) ^ host.c:273:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] selection_count(host) ^ 25 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -c lconnect.c lconnect.c:79:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] connect_to_local(host) ^ lconnect.c:109:3: warning: implicit declaration of function 'retrieve_cache' is invalid in C99 [-Wimplicit-function-declaration] retrieve_cache(DIRECTORY, hinfo[host].hostname, &list, False); ^ lconnect.c:111:8: warning: implicit declaration of function 'local_cd' is invalid in C99 [-Wimplicit-function-declaration] if (local_cd(host, list->entries[0], True) == 0) ^ lconnect.c:116:5: warning: implicit declaration of function 'warning_error' is invalid in C99 [-Wimplicit-function-declaration] warning_error(msg); ^ lconnect.c:121:3: warning: implicit declaration of function 'release_array_list' is invalid in C99 [-Wimplicit-function-declaration] release_array_list(list); ^ lconnect.c:132:9: warning: implicit declaration of function 'update_dir_displays' is invalid in C99 [-Wimplicit-function-declaration] if (update_dir_displays(host, False) < 0) ^ lconnect.c:133:3: warning: implicit declaration of function 'fatal_error' is invalid in C99 [-Wimplicit-function-declaration] fatal_error("*** Bug in connect_to_local()"); ^ lconnect.c:134:2: warning: implicit declaration of function 'update_xfer_controls' is invalid in C99 [-Wimplicit-function-declaration] update_xfer_controls(); ^ lconnect.c:135:5: warning: implicit declaration of function 'update_dirname_menu' is invalid in C99 [-Wimplicit-function-declaration] update_dirname_menu(host); ^ lconnect.c:136:2: warning: implicit declaration of function 'update_dirpath' is invalid in C99 [-Wimplicit-function-declaration] update_dirpath(host); ^ lconnect.c:137:2: warning: implicit declaration of function 'update_dir_cache' is invalid in C99 [-Wimplicit-function-declaration] update_dir_cache(host); ^ lconnect.c:138:5: warning: implicit declaration of function 'update_hostname' is invalid in C99 [-Wimplicit-function-declaration] update_hostname(host); ^ lconnect.c:139:5: warning: implicit declaration of function 'update_host_controls' is invalid in C99 [-Wimplicit-function-declaration] update_host_controls(host); ^ lconnect.c:140:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ lconnect.c:155:2: warning: implicit declaration of function 'raise_okflag' is invalid in C99 [-Wimplicit-function-declaration] raise_okflag(); ^ lconnect.c:159:9: warning: implicit declaration of function 'disconnect' is invalid in C99 [-Wimplicit-function-declaration] disconnect(host); ^ 16 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -c lcopy.c lcopy.c:74:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] init_local_copy() ^ lcopy.c:89:2: warning: implicit declaration of function 'snk_paths_of_xfer_node' is invalid in C99 [-Wimplicit-function-declaration] snk_paths_of_xfer_node(xc.current_node, NULL, &tmp_snk_file); ^ lcopy.c:90:2: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' strcpy(snk_file, tmp_snk_file); ^ lcopy.c:90:2: note: include the header or explicitly provide a declaration for 'strcpy' lcopy.c:91:2: warning: implicit declaration of function 'XtFree' is invalid in C99 [-Wimplicit-function-declaration] XtFree(tmp_snk_file); ^ lcopy.c:103:9: warning: implicit declaration of function 'parse_path' is invalid in C99 [-Wimplicit-function-declaration] parse_path(SYS_UNIX, snk_path, &dir, NULL); ^ lcopy.c:105:18: warning: implicit declaration of function 'local_mkdir' is invalid in C99 [-Wimplicit-function-declaration] retval = local_mkdir(xc.snk_host, dir, 0700); ^ lcopy.c:112:10: warning: implicit declaration of function 'can_create_sinkfile' is invalid in C99 [-Wimplicit-function-declaration] if (!can_create_sinkfile(xc.snk_host, snk_file)) ^ lcopy.c:116:2: warning: implicit declaration of function 'src_paths_of_xfer_node' is invalid in C99 [-Wimplicit-function-declaration] src_paths_of_xfer_node(xc.current_node, NULL, &src_file); ^ lcopy.c:117:24: warning: implicit declaration of function 'iopen2' is invalid in C99 [-Wimplicit-function-declaration] if ((src_file_fd = iopen2(src_file, O_RDONLY)) < 0) { ^ lcopy.c:118:9: warning: implicit declaration of function 'report_perror' is invalid in C99 [-Wimplicit-function-declaration] report_perror(xc.src_host, src_file); ^ lcopy.c:124:3: warning: implicit declaration of function 'warning_error' is invalid in C99 [-Wimplicit-function-declaration] warning_error(msg); ^ lcopy.c:125:9: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(src_file_fd); ^ lcopy.c:135:6: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] if (unlink(snk_file) == -1) ^ lcopy.c:141:21: warning: implicit declaration of function 'iopen3' is invalid in C99 [-Wimplicit-function-declaration] if ((snk_file_fd = iopen3(snk_file, O_CREAT|O_WRONLY, 0644)) < 0) { ^ lcopy.c:162:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] do_local_copy() ^ lcopy.c:171:7: warning: implicit declaration of function 'iread' is invalid in C99 [-Wimplicit-function-declaration] if (iread(xc.src_file_fd, filebuf, nbytes) != nbytes) { ^ lcopy.c:179:7: warning: implicit declaration of function 'iwrite' is invalid in C99 [-Wimplicit-function-declaration] if (iwrite(xc.snk_file_fd, filebuf, nbytes) != nbytes) { ^ lcopy.c:206:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] abort_local_copy() ^ 18 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -c list.c list.c:62:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] add_to_linked_list(head, string) ^ list.c:72:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ list.c:79:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] release_linked_list(head) ^ list.c:90:2: warning: control reaches end of non-void function [-Wreturn-type] } ^ list.c:157:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] release_array_list(list) ^ list.c:167:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ list.c:173:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] add_to_array_list(list, string) ^ list.c:200:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ list.c:206:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] delete_from_array_list(list, n) ^ list.c:214:3: warning: implicit declaration of function 'fatal_error' is invalid in C99 [-Wimplicit-function-declaration] fatal_error("Trouble in add_to_array_list()"); ^ list.c:225:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 11 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -c local.c local.c:78:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] local_cd(host, directory, print_error_msg) ^ local.c:85:16: warning: implicit declaration of function 'chdir' is invalid in C99 [-Wimplicit-function-declaration] if ((retval = chdir(directory)) != 0) { ^ local.c:87:4: warning: implicit declaration of function 'report_perror' is invalid in C99 [-Wimplicit-function-declaration] report_perror(host, directory); ^ local.c:100:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] local_pwd(name) ^ local.c:132:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] local_mkdir(host, directory, mode) ^ local.c:139:16: warning: implicit declaration of function 'mkdir' is invalid in C99 [-Wimplicit-function-declaration] if ((retval = mkdir(directory, mode)) != 0) ^ local.c:151:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] local_delete(host, path) ^ local.c:159:6: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] if (unlink(path) == 0) ^ local.c:162:3: warning: implicit declaration of function 'parse_path' is invalid in C99 [-Wimplicit-function-declaration] parse_path(SYS_UNIX, path, &dir, &entry); ^ local.c:163:48: warning: implicit declaration of function 'rmdir' is invalid in C99 [-Wimplicit-function-declaration] result = (local_cd(host, dir, False) == 0 && rmdir(entry) == 0); ^ local.c:180:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] local_rename(host, old_path, new_path) ^ local.c:197:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] max_fds() ^ local.c:208:17: warning: implicit declaration of function 'getdtablesize' is invalid in C99 [-Wimplicit-function-declaration] max_files = getdtablesize(); ^ local.c:231:9: warning: implicit declaration of function 'gethostname' is invalid in C99 [-Wimplicit-function-declaration] if (gethostname(name, MAXHOSTNAMELEN) == -1) ^ local.c:232:9: warning: implicit declaration of function 'fatal_error' is invalid in C99 [-Wimplicit-function-declaration] fatal_error("Trouble in local_host_name()"); ^ 15 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -c log.c log.c:87:12: error: redefinition of 'sys_nerr' with a different type: 'int' vs 'const int' extern int sys_nerr; ^ /usr/include/errno.h:60:18: note: previous definition is here extern const int sys_nerr __RENAME(__sys_nerr14); ^ log.c:90:14: error: redefinition of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const *' extern char *sys_errlist[]; ^ /usr/include/errno.h:61:27: note: previous definition is here extern const char *const *sys_errlist __RENAME(__sys_errlist14); ^ log.c:100:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] write_log(msg) ^ log.c:119:2: warning: implicit declaration of function 'raise_okflag' is invalid in C99 [-Wimplicit-function-declaration] raise_okflag(); ^ log.c:129:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] report_perror(host, msg) ^ log.c:150:13: warning: passing 'const char *const' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] write_log(sys_errlist[saved_errno]); ^~~~~~~~~~~~~~~~~~~~~~~~ log.c:163:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] print_ftp_reply(host, reply) ^ log.c:181:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] print_ftp_cmd(host, cmd) ^ log.c:224:5: warning: implicit declaration of function 'add_dialog_to_list' is invalid in C99 [-Wimplicit-function-declaration] add_dialog_to_list(w_saveLogDialog); ^ log.c:287:3: warning: implicit declaration of function 'warning_error' is invalid in C99 [-Wimplicit-function-declaration] warning_error(msg); ^ log.c:314:5: warning: implicit declaration of function 'help_dialog' is invalid in C99 [-Wimplicit-function-declaration] help_dialog(w_saveLogDialog, False, "Save Diagnostics Log", ^ log.c:322:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] show_top_of_log() ^ 10 warnings and 2 errors generated. *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/net/llnlxftp/work/llnlxftp2.1/sources *** Error code 1 Stop. bmake[1]: stopped in /usr/pkgsrc/net/llnlxftp *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/llnlxftp