=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/math/mathomatic", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for mathomatic-16.0.4nb1 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -I/opt/pkg/include -I/opt/pkg/include/ncurses -fexceptions -DUNIX -DVERSION=\"`cat VERSION`\" -I/opt/pkg/include -I/opt/pkg/include/ncurses -c -o main.o main.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -I/opt/pkg/include -I/opt/pkg/include/ncurses -fexceptions -DUNIX -DVERSION=\"`cat VERSION`\" -I/opt/pkg/include -I/opt/pkg/include/ncurses -c -o globals.o globals.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -I/opt/pkg/include -I/opt/pkg/include/ncurses -fexceptions -DUNIX -DVERSION=\"`cat VERSION`\" -I/opt/pkg/include -I/opt/pkg/include/ncurses -c -o am.o am.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -I/opt/pkg/include -I/opt/pkg/include/ncurses -fexceptions -DUNIX -DVERSION=\"`cat VERSION`\" -I/opt/pkg/include -I/opt/pkg/include/ncurses -c -o solve.o solve.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSOLARIS -I/opt/pkg/include -I/opt/pkg/include/ncurses -fexceptions -DUNIX -DVERSION=\"`cat VERSION`\" -I/opt/pkg/include -I/opt/pkg/include/ncurses -c -o help.o help.c In file included from includes.h:117, from main.c:72: altproto.h:8:17: error: conflicting types for 'clear_cmd'; have 'int(void)' 8 | int clear_cmd(), quit_cmd(), list_cmd(), simplify_cmd(), help_cmd(), eliminate_cmd(); | ^~~~~~~~~ In file included from includes.h:116: proto.h:90:5: note: previous declaration of 'clear_cmd' with type 'int(char *)' 90 | int clear_cmd(char *cp); | ^~~~~~~~~ altproto.h:8:30: error: conflicting types for 'quit_cmd'; have 'int(void)' 8 | int clear_cmd(), quit_cmd(), list_cmd(), simplify_cmd(), help_cmd(), eliminate_cmd(); | ^~~~~~~~ proto.h:108:5: note: previous declaration of 'quit_cmd' with type 'int(char *)' 108 | int quit_cmd(char *cp); | ^~~~~~~~ altproto.h:8:42: error: conflicting types for 'list_cmd'; have 'int(void)' 8 | int clear_cmd(), quit_cmd(), list_cmd(), simplify_cmd(), help_cmd(), eliminate_cmd(); | ^~~~~~~~ proto.h:97:5: note: previous declaration of 'list_cmd' with type 'int(char *)' 97 | int list_cmd(char *cp); | ^~~~~~~~ altproto.h:8:54: error: conflicting types for 'simplify_cmd'; have 'int(void)' 8 | int clear_cmd(), quit_cmd(), list_cmd(), simplify_cmd(), help_cmd(), eliminate_cmd(); | ^~~~~~~~~~~~ proto.h:102:5: note: previous declaration of 'simplify_cmd' with type 'int(char *)' 102 | int simplify_cmd(char *cp); | ^~~~~~~~~~~~ altproto.h:8:70: error: conflicting types for 'help_cmd'; have 'int(void)' 8 | int clear_cmd(), quit_cmd(), list_cmd(), simplify_cmd(), help_cmd(), eliminate_cmd(); | ^~~~~~~~ proto.h:173:5: note: previous declaration of 'help_cmd' with type 'int(char *)' 173 | int help_cmd(char *cp); | ^~~~~~~~ altproto.h:8:82: error: conflicting types for 'eliminate_cmd'; have 'int(void)' 8 | int clear_cmd(), quit_cmd(), list_cmd(), simplify_cmd(), help_cmd(), eliminate_cmd(); | ^~~~~~~~~~~~~ proto.h:95:5: note: previous declaration of 'eliminate_cmd' with type 'int(char *)' 95 | int eliminate_cmd(char *cp); | ^~~~~~~~~~~~~ altproto.h:9:17: error: conflicting types for 'fraction_cmd'; have 'int(void)' 9 | int fraction_cmd(), unfactor_cmd(), compare_cmd(), extrema_cmd(); | ^~~~~~~~~~~~ proto.h:107:5: note: previous declaration of 'fraction_cmd' with type 'int(char *)' 107 | int fraction_cmd(char *cp); | ^~~~~~~~~~~~ altproto.h:9:33: error: conflicting types for 'unfactor_cmd'; have 'int(void)' 9 | int fraction_cmd(), unfactor_cmd(), compare_cmd(), extrema_cmd(); | ^~~~~~~~~~~~ proto.h:105:5: note: previous declaration of 'unfactor_cmd' with type 'int(char *)' 105 | int unfactor_cmd(char *cp); | ^~~~~~~~~~~~ altproto.h:9:49: error: conflicting types for 'compare_cmd'; have 'int(void)' 9 | int fraction_cmd(), unfactor_cmd(), compare_cmd(), extrema_cmd(); | ^~~~~~~~~~~ proto.h:92:5: note: previous declaration of 'compare_cmd' with type 'int(char *)' 92 | int compare_cmd(char *cp); | ^~~~~~~~~~~ altproto.h:9:64: error: conflicting types for 'extrema_cmd'; have 'int(void)' 9 | int fraction_cmd(), unfactor_cmd(), compare_cmd(), extrema_cmd(); | ^~~~~~~~~~~ proto.h:133:5: note: previous declaration of 'extrema_cmd' with type 'int(char *)' 133 | int extrema_cmd(char *cp); | ^~~~~~~~~~~ altproto.h:10:17: error: conflicting types for 'read_cmd'; have 'int(void)' 10 | int read_cmd(), display_cmd(), calculate_cmd(), solve_cmd(); | ^~~~~~~~ proto.h:109:5: note: previous declaration of 'read_cmd' with type 'int(char *)' 109 | int read_cmd(char *cp); | ^~~~~~~~ altproto.h:10:29: error: conflicting types for 'display_cmd'; have 'int(void)' 10 | int read_cmd(), display_cmd(), calculate_cmd(), solve_cmd(); | ^~~~~~~~~~~ proto.h:96:5: note: previous declaration of 'display_cmd' with type 'int(char *)' 96 | int display_cmd(char *cp); | ^~~~~~~~~~~ altproto.h:10:44: error: conflicting types for 'calculate_cmd'; have 'int(void)' 10 | int read_cmd(), display_cmd(), calculate_cmd(), solve_cmd(); | ^~~~~~~~~~~~~ proto.h:89:5: note: previous declaration of 'calculate_cmd' with type 'int(char *)' 89 | int calculate_cmd(char *cp); | ^~~~~~~~~~~~~ altproto.h:10:61: error: conflicting types for 'solve_cmd'; have 'int(void)' 10 | int read_cmd(), display_cmd(), calculate_cmd(), solve_cmd(); | ^~~~~~~~~ proto.h:69:5: note: previous declaration of 'solve_cmd' with type 'int(char *)' 69 | int solve_cmd(char *cp); | ^~~~~~~~~ In file included from includes.h:117, from globals.c:29: altproto.h:8:17: error: conflicting types for 'clear_cmd'; have 'int(void)' 8 | int clear_cmd(), quit_cmd(), list_cmd(), simplify_cmd(), help_cmd(), eliminate_cmd(); | ^~~~~~~~~ altproto.h:11:17: error: conflicting types for 'factor_cmd'; have 'int(void)' 11 | int factor_cmd(), derivative_cmd(), replace_cmd(), approximate_cmd(); | ^~~~~~~~~~ proto.h:103:5: note: previous declaration of 'factor_cmd' with type 'int(char *)' 103 | int factor_cmd(char *cp); | ^~~~~~~~~~ altproto.h:11:31: error: conflicting types for 'derivative_cmd'; have 'int(void)' 11 | int factor_cmd(), derivative_cmd(), replace_cmd(), approximate_cmd(); | ^~~~~~~~~~~~~~ proto.h:132:5: note: previous declaration of 'derivative_cmd' with type 'int(char *)' 132 | int derivative_cmd(char *cp); | ^~~~~~~~~~~~~~ In file included from includes.h:116: proto.h:90:5: note: previous declaration of 'clear_cmd' with type 'int(char *)' 90 | int clear_cmd(char *cp); | ^~~~~~~~~ altproto.h:11:49: error: conflicting types for 'replace_cmd'; have 'int(void)' 11 | int factor_cmd(), derivative_cmd(), replace_cmd(), approximate_cmd(); | ^~~~~~~~~~~ proto.h:101:5: note: previous declaration of 'replace_cmd' with type 'int(char *)' 101 | int replace_cmd(char *cp); | ^~~~~~~~~~~ altproto.h:8:30: error: conflicting types for 'quit_cmd'; have 'int(void)' 8 | int clear_cmd(), quit_cmd(), list_cmd(), simplify_cmd(), help_cmd(), eliminate_cmd(); | ^~~~~~~~ altproto.h:11:64: error: conflicting types for 'approximate_cmd'; have 'int(void)' 11 | int factor_cmd(), derivative_cmd(), replace_cmd(), approximate_cmd(); | ^~~~~~~~~~~~~~~ proto.h:100:5: note: previous declaration of 'approximate_cmd' with type 'int(char *)' 100 | int approximate_cmd(char *cp); | ^~~~~~~~~~~~~~~ proto.h:108:5: note: previous declaration of 'quit_cmd' with type 'int(char *)' 108 | int quit_cmd(char *cp); | ^~~~~~~~ altproto.h:12:17: error: conflicting types for 'save_cmd'; have 'int(void)' 12 | int save_cmd(), taylor_cmd(), limit_cmd(), echo_cmd(), plot_cmd(); | ^~~~~~~~ altproto.h:8:42: error: conflicting types for 'list_cmd'; have 'int(void)' 8 | int clear_cmd(), quit_cmd(), list_cmd(), simplify_cmd(), help_cmd(), eliminate_cmd(); | ^~~~~~~~ proto.h:113:5: note: previous declaration of 'save_cmd' with type 'int(char *)' 113 | int save_cmd(char *cp); | ^~~~~~~~ proto.h:97:5: note: previous declaration of 'list_cmd' with type 'int(char *)' 97 | int list_cmd(char *cp); | ^~~~~~~~ altproto.h:12:29: error: conflicting types for 'taylor_cmd'; have 'int(void)' 12 | int save_cmd(), taylor_cmd(), limit_cmd(), echo_cmd(), plot_cmd(); | ^~~~~~~~~~ altproto.h:8:54: error: conflicting types for 'simplify_cmd'; have 'int(void)' 8 | int clear_cmd(), quit_cmd(), list_cmd(), simplify_cmd(), help_cmd(), eliminate_cmd(); | ^~~~~~~~~~~~ proto.h:134:5: note: previous declaration of 'taylor_cmd' with type 'int(char *)' 134 | int taylor_cmd(char *cp); | ^~~~~~~~~~ proto.h:102:5: note: previous declaration of 'simplify_cmd' with type 'int(char *)' 102 | int simplify_cmd(char *cp); | ^~~~~~~~~~~~ altproto.h:12:43: error: conflicting types for 'limit_cmd'; have 'int(void)' 12 | int save_cmd(), taylor_cmd(), limit_cmd(), echo_cmd(), plot_cmd(); | ^~~~~~~~~ altproto.h:8:70: error: conflicting types for 'help_cmd'; have 'int(void)' 8 | int clear_cmd(), quit_cmd(), list_cmd(), simplify_cmd(), help_cmd(), eliminate_cmd(); | ^~~~~~~~ proto.h:135:5: note: previous declaration of 'limit_cmd' with type 'int(char *)' 135 | int limit_cmd(char *cp); | ^~~~~~~~~ proto.h:173:5: note: previous declaration of 'help_cmd' with type 'int(char *)' 173 | int help_cmd(char *cp); | ^~~~~~~~ altproto.h:12:56: error: conflicting types for 'echo_cmd'; have 'int(void)' 12 | int save_cmd(), taylor_cmd(), limit_cmd(), echo_cmd(), plot_cmd(); | ^~~~~~~~ altproto.h:8:82: error: conflicting types for 'eliminate_cmd'; have 'int(void)' 8 | int clear_cmd(), quit_cmd(), list_cmd(), simplify_cmd(), help_cmd(), eliminate_cmd(); | ^~~~~~~~~~~~~ proto.h:83:5: note: previous declaration of 'echo_cmd' with type 'int(char *)' 83 | int echo_cmd(char *cp); | ^~~~~~~~ proto.h:95:5: note: previous declaration of 'eliminate_cmd' with type 'int(char *)' 95 | int eliminate_cmd(char *cp); | ^~~~~~~~~~~~~ altproto.h:9:17: error: conflicting types for 'fraction_cmd'; have 'int(void)' 9 | int fraction_cmd(), unfactor_cmd(), compare_cmd(), extrema_cmd(); | ^~~~~~~~~~~~ altproto.h:12:68: error: conflicting types for 'plot_cmd'; have 'int(void)' 12 | int save_cmd(), taylor_cmd(), limit_cmd(), echo_cmd(), plot_cmd(); | ^~~~~~~~ proto.h:107:5: note: previous declaration of 'fraction_cmd' with type 'int(char *)' 107 | int fraction_cmd(char *cp); | ^~~~~~~~~~~~ proto.h:64:5: note: previous declaration of 'plot_cmd' with type 'int(char *)' 64 | int plot_cmd(char *cp); | ^~~~~~~~ altproto.h:9:33: error: conflicting types for 'unfactor_cmd'; have 'int(void)' 9 | int fraction_cmd(), unfactor_cmd(), compare_cmd(), extrema_cmd(); | ^~~~~~~~~~~~ proto.h:105:5: note: previous declaration of 'unfactor_cmd' with type 'int(char *)' 105 | int unfactor_cmd(char *cp); | ^~~~~~~~~~~~ altproto.h:13:17: error: conflicting types for 'copy_cmd'; have 'int(void)' 13 | int copy_cmd(), divide_cmd(), pause_cmd(), version_cmd(); | ^~~~~~~~ altproto.h:9:49: error: conflicting types for 'compare_cmd'; have 'int(void)' 9 | int fraction_cmd(), unfactor_cmd(), compare_cmd(), extrema_cmd(); | ^~~~~~~~~~~ proto.h:85:5: note: previous declaration of 'copy_cmd' with type 'int(char *)' 85 | int copy_cmd(char *cp); | ^~~~~~~~ proto.h:92:5: note: previous declaration of 'compare_cmd' with type 'int(char *)' 92 | int compare_cmd(char *cp); | ^~~~~~~~~~~ altproto.h:13:29: error: conflicting types for 'divide_cmd'; have 'int(void)' 13 | int copy_cmd(), divide_cmd(), pause_cmd(), version_cmd(); | ^~~~~~~~~~ altproto.h:9:64: error: conflicting types for 'extrema_cmd'; have 'int(void)' 9 | int fraction_cmd(), unfactor_cmd(), compare_cmd(), extrema_cmd(); | ^~~~~~~~~~~ proto.h:94:5: note: previous declaration of 'divide_cmd' with type 'int(char *)' 94 | int divide_cmd(char *cp); | ^~~~~~~~~~ proto.h:133:5: note: previous declaration of 'extrema_cmd' with type 'int(char *)' 133 | int extrema_cmd(char *cp); | ^~~~~~~~~~~ altproto.h:10:17: error: conflicting types for 'read_cmd'; have 'int(void)' 10 | int read_cmd(), display_cmd(), calculate_cmd(), solve_cmd(); | ^~~~~~~~ altproto.h:13:43: error: conflicting types for 'pause_cmd'; have 'int(void)' 13 | int copy_cmd(), divide_cmd(), pause_cmd(), version_cmd(); | ^~~~~~~~~ proto.h:109:5: note: previous declaration of 'read_cmd' with type 'int(char *)' 109 | int read_cmd(char *cp); | ^~~~~~~~ proto.h:84:5: note: previous declaration of 'pause_cmd' with type 'int(char *)' 84 | int pause_cmd(char *cp); | ^~~~~~~~~ altproto.h:10:29: error: conflicting types for 'display_cmd'; have 'int(void)' 10 | int read_cmd(), display_cmd(), calculate_cmd(), solve_cmd(); | ^~~~~~~~~~~ proto.h:96:5: note: previous declaration of 'display_cmd' with type 'int(char *)' 96 | int display_cmd(char *cp); | ^~~~~~~~~~~ altproto.h:13:56: error: conflicting types for 'version_cmd'; have 'int(void)' 13 | int copy_cmd(), divide_cmd(), pause_cmd(), version_cmd(); | ^~~~~~~~~~~ altproto.h:10:44: error: conflicting types for 'calculate_cmd'; have 'int(void)' 10 | int read_cmd(), display_cmd(), calculate_cmd(), solve_cmd(); | ^~~~~~~~~~~~~ proto.h:89:5: note: previous declaration of 'calculate_cmd' with type 'int(char *)' 89 | int calculate_cmd(char *cp); | ^~~~~~~~~~~~~ altproto.h:10:61: error: conflicting types for 'solve_cmd'; have 'int(void)' 10 | int read_cmd(), display_cmd(), calculate_cmd(), solve_cmd(); | ^~~~~~~~~ proto.h:69:5: note: previous declaration of 'solve_cmd' with type 'int(char *)' 69 | int solve_cmd(char *cp); | ^~~~~~~~~ proto.h:65:5: note: previous declaration of 'version_cmd' with type 'int(char *)' 65 | int version_cmd(char *cp); | ^~~~~~~~~~~ altproto.h:11:17: error: conflicting types for 'factor_cmd'; have 'int(void)' 11 | int factor_cmd(), derivative_cmd(), replace_cmd(), approximate_cmd(); | ^~~~~~~~~~ proto.h:103:5: note: previous declaration of 'factor_cmd' with type 'int(char *)' 103 | int factor_cmd(char *cp); | ^~~~~~~~~~ altproto.h:14:17: error: conflicting types for 'edit_cmd'; have 'int(void)' 14 | int edit_cmd(), real_cmd(), imaginary_cmd(), tally_cmd(); | ^~~~~~~~ altproto.h:11:31: error: conflicting types for 'derivative_cmd'; have 'int(void)' 11 | int factor_cmd(), derivative_cmd(), replace_cmd(), approximate_cmd(); | ^~~~~~~~~~~~~~ proto.h:112:5: note: previous declaration of 'edit_cmd' with type 'int(char *)' 112 | int edit_cmd(char *cp); | ^~~~~~~~ proto.h:132:5: note: previous declaration of 'derivative_cmd' with type 'int(char *)' 132 | int derivative_cmd(char *cp); | ^~~~~~~~~~~~~~ altproto.h:14:29: error: conflicting types for 'real_cmd'; have 'int(void)' 14 | int edit_cmd(), real_cmd(), imaginary_cmd(), tally_cmd(); | ^~~~~~~~ altproto.h:11:49: error: conflicting types for 'replace_cmd'; have 'int(void)' 11 | int factor_cmd(), derivative_cmd(), replace_cmd(), approximate_cmd(); | ^~~~~~~~~~~ proto.h:101:5: note: previous declaration of 'replace_cmd' with type 'int(char *)' 101 | int replace_cmd(char *cp); | ^~~~~~~~~~~ In file included from includes.h:117, from am.c:25: altproto.h:8:17: error: conflicting types for 'clear_cmd'; have 'int(void)' 8 | int clear_cmd(), quit_cmd(), list_cmd(), simplify_cmd(), help_cmd(), eliminate_cmd(); | ^~~~~~~~~ In file included from includes.h:117, from solve.c:25: altproto.h:8:17: error: conflicting types for 'clear_cmd'; have 'int(void)' 8 | int clear_cmd(), quit_cmd(), list_cmd(), simplify_cmd(), help_cmd(), eliminate_cmd(); | ^~~~~~~~~ In file included from includes.h:117, from help.c:27: altproto.h:8:17: error: conflicting types for 'clear_cmd'; have 'int(void)' 8 | int clear_cmd(), quit_cmd(), list_cmd(), simplify_cmd(), help_cmd(), eliminate_cmd(); | ^~~~~~~~~ proto.h:86:5: note: previous declaration of 'real_cmd' with type 'int(char *)' 86 | int real_cmd(char *cp); | ^~~~~~~~ altproto.h:11:64: error: conflicting types for 'approximate_cmd'; have 'int(void)' 11 | int factor_cmd(), derivative_cmd(), replace_cmd(), approximate_cmd(); | ^~~~~~~~~~~~~~~ proto.h:100:5: note: previous declaration of 'approximate_cmd' with type 'int(char *)' 100 | int approximate_cmd(char *cp); | ^~~~~~~~~~~~~~~ altproto.h:12:17: error: conflicting types for 'save_cmd'; have 'int(void)' 12 | int save_cmd(), taylor_cmd(), limit_cmd(), echo_cmd(), plot_cmd(); | ^~~~~~~~ In file included from includes.h:116: proto.h:90:5: note: previous declaration of 'clear_cmd' with type 'int(char *)' 90 | int clear_cmd(char *cp); | ^~~~~~~~~ proto.h:113:5: note: previous declaration of 'save_cmd' with type 'int(char *)' 113 | int save_cmd(char *cp); | ^~~~~~~~ In file included from includes.h:116: proto.h:90:5: note: previous declaration of 'clear_cmd' with type 'int(char *)' 90 | int clear_cmd(char *cp); | ^~~~~~~~~ altproto.h:12:29: error: conflicting types for 'taylor_cmd'; have 'int(void)' 12 | int save_cmd(), taylor_cmd(), limit_cmd(), echo_cmd(), plot_cmd(); | ^~~~~~~~~~ proto.h:134:5: note: previous declaration of 'taylor_cmd' with type 'int(char *)' 134 | int taylor_cmd(char *cp); | ^~~~~~~~~~ altproto.h:14:41: error: conflicting types for 'imaginary_cmd'; have 'int(void)' 14 | int edit_cmd(), real_cmd(), imaginary_cmd(), tally_cmd(); | ^~~~~~~~~~~~~ altproto.h:12:43: error: conflicting types for 'limit_cmd'; have 'int(void)' 12 | int save_cmd(), taylor_cmd(), limit_cmd(), echo_cmd(), plot_cmd(); | ^~~~~~~~~ proto.h:135:5: note: previous declaration of 'limit_cmd' with type 'int(char *)' 135 | int limit_cmd(char *cp); | ^~~~~~~~~ altproto.h:8:30: error: conflicting types for 'quit_cmd'; have 'int(void)' 8 | int clear_cmd(), quit_cmd(), list_cmd(), simplify_cmd(), help_cmd(), eliminate_cmd(); | ^~~~~~~~ In file included from includes.h:116: proto.h:90:5: note: previous declaration of 'clear_cmd' with type 'int(char *)' 90 | int clear_cmd(char *cp); | ^~~~~~~~~ proto.h:87:5: note: previous declaration of 'imaginary_cmd' with type 'int(char *)' 87 | int imaginary_cmd(char *cp); | ^~~~~~~~~~~~~ proto.h:108:5: note: previous declaration of 'quit_cmd' with type 'int(char *)' 108 | int quit_cmd(char *cp); | ^~~~~~~~ altproto.h:12:56: error: conflicting types for 'echo_cmd'; have 'int(void)' 12 | int save_cmd(), taylor_cmd(), limit_cmd(), echo_cmd(), plot_cmd(); | ^~~~~~~~ altproto.h:8:30: error: conflicting types for 'quit_cmd'; have 'int(void)' 8 | int clear_cmd(), quit_cmd(), list_cmd(), simplify_cmd(), help_cmd(), eliminate_cmd(); | ^~~~~~~~ altproto.h:8:42: error: conflicting types for 'list_cmd'; have 'int(void)' 8 | int clear_cmd(), quit_cmd(), list_cmd(), simplify_cmd(), help_cmd(), eliminate_cmd(); | ^~~~~~~~ proto.h:108:5: note: previous declaration of 'quit_cmd' with type 'int(char *)' 108 | int quit_cmd(char *cp); | ^~~~~~~~ proto.h:97:5: note: previous declaration of 'list_cmd' with type 'int(char *)' 97 | int list_cmd(char *cp); | ^~~~~~~~ altproto.h:8:30: error: conflicting types for 'quit_cmd'; have 'int(void)' 8 | int clear_cmd(), quit_cmd(), list_cmd(), simplify_cmd(), help_cmd(), eliminate_cmd(); | ^~~~~~~~ proto.h:108:5: note: previous declaration of 'quit_cmd' with type 'int(char *)' 108 | int quit_cmd(char *cp); | ^~~~~~~~ altproto.h:8:42: error: conflicting types for 'list_cmd'; have 'int(void)' 8 | int clear_cmd(), quit_cmd(), list_cmd(), simplify_cmd(), help_cmd(), eliminate_cmd(); | ^~~~~~~~ altproto.h:8:54: error: conflicting types for 'simplify_cmd'; have 'int(void)' 8 | int clear_cmd(), quit_cmd(), list_cmd(), simplify_cmd(), help_cmd(), eliminate_cmd(); | ^~~~~~~~~~~~ altproto.h:14:58: error: conflicting types for 'tally_cmd'; have 'int(void)' 14 | int edit_cmd(), real_cmd(), imaginary_cmd(), tally_cmd(); | ^~~~~~~~~ proto.h:83:5: note: previous declaration of 'echo_cmd' with type 'int(char *)' 83 | int echo_cmd(char *cp); | ^~~~~~~~ proto.h:97:5: note: previous declaration of 'list_cmd' with type 'int(char *)' 97 | int list_cmd(char *cp); | ^~~~~~~~ altproto.h:8:42: error: conflicting types for 'list_cmd'; have 'int(void)' 8 | int clear_cmd(), quit_cmd(), list_cmd(), simplify_cmd(), help_cmd(), eliminate_cmd(); | ^~~~~~~~ proto.h:102:5: note: previous declaration of 'simplify_cmd' with type 'int(char *)' 102 | int simplify_cmd(char *cp); | ^~~~~~~~~~~~ proto.h:88:5: note: previous declaration of 'tally_cmd' with type 'int(char *)' 88 | int tally_cmd(char *cp); | ^~~~~~~~~ altproto.h:8:54: error: conflicting types for 'simplify_cmd'; have 'int(void)' 8 | int clear_cmd(), quit_cmd(), list_cmd(), simplify_cmd(), help_cmd(), eliminate_cmd(); | ^~~~~~~~~~~~ proto.h:97:5: note: previous declaration of 'list_cmd' with type 'int(char *)' 97 | int list_cmd(char *cp); | ^~~~~~~~ altproto.h:8:70: error: conflicting types for 'help_cmd'; have 'int(void)' 8 | int clear_cmd(), quit_cmd(), list_cmd(), simplify_cmd(), help_cmd(), eliminate_cmd(); | ^~~~~~~~ altproto.h:15:17: error: conflicting types for 'roots_cmd'; have 'int(void)' 15 | int roots_cmd(), set_cmd(), variables_cmd(), code_cmd(), optimize_cmd(), push_cmd(); | ^~~~~~~~~ proto.h:116:5: note: previous declaration of 'roots_cmd' with type 'int(char *)' 116 | int roots_cmd(char *cp); | ^~~~~~~~~ proto.h:173:5: note: previous declaration of 'help_cmd' with type 'int(char *)' 173 | int help_cmd(char *cp); | ^~~~~~~~ proto.h:102:5: note: previous declaration of 'simplify_cmd' with type 'int(char *)' 102 | int simplify_cmd(char *cp); | ^~~~~~~~~~~~ altproto.h:8:54: error: conflicting types for 'simplify_cmd'; have 'int(void)' 8 | int clear_cmd(), quit_cmd(), list_cmd(), simplify_cmd(), help_cmd(), eliminate_cmd(); | ^~~~~~~~~~~~ altproto.h:15:30: error: conflicting types for 'set_cmd'; have 'int(void)' 15 | int roots_cmd(), set_cmd(), variables_cmd(), code_cmd(), optimize_cmd(), push_cmd(); | ^~~~~~~ altproto.h:12:68: error: conflicting types for 'plot_cmd'; have 'int(void)' 12 | int save_cmd(), taylor_cmd(), limit_cmd(), echo_cmd(), plot_cmd(); | ^~~~~~~~ proto.h:102:5: note: previous declaration of 'simplify_cmd' with type 'int(char *)' 102 | int simplify_cmd(char *cp); | ^~~~~~~~~~~~ altproto.h:8:82: error: conflicting types for 'eliminate_cmd'; have 'int(void)' 8 | int clear_cmd(), quit_cmd(), list_cmd(), simplify_cmd(), help_cmd(), eliminate_cmd(); | ^~~~~~~~~~~~~ altproto.h:8:70: error: conflicting types for 'help_cmd'; have 'int(void)' 8 | int clear_cmd(), quit_cmd(), list_cmd(), simplify_cmd(), help_cmd(), eliminate_cmd(); | ^~~~~~~~ proto.h:82:5: note: previous declaration of 'set_cmd' with type 'int(char *)' 82 | int set_cmd(char *cp); | ^~~~~~~ proto.h:95:5: note: previous declaration of 'eliminate_cmd' with type 'int(char *)' 95 | int eliminate_cmd(char *cp); | ^~~~~~~~~~~~~ proto.h:64:5: note: previous declaration of 'plot_cmd' with type 'int(char *)' 64 | int plot_cmd(char *cp); | ^~~~~~~~ proto.h:173:5: note: previous declaration of 'help_cmd' with type 'int(char *)' 173 | int help_cmd(char *cp); | ^~~~~~~~ altproto.h:8:70: error: conflicting types for 'help_cmd'; have 'int(void)' 8 | int clear_cmd(), quit_cmd(), list_cmd(), simplify_cmd(), help_cmd(), eliminate_cmd(); | ^~~~~~~~ altproto.h:15:41: error: conflicting types for 'variables_cmd'; have 'int(void)' 15 | int roots_cmd(), set_cmd(), variables_cmd(), code_cmd(), optimize_cmd(), push_cmd(); | ^~~~~~~~~~~~~ proto.h:173:5: note: previous declaration of 'help_cmd' with type 'int(char *)' 173 | int help_cmd(char *cp); | ^~~~~~~~ altproto.h:9:17: error: conflicting types for 'fraction_cmd'; have 'int(void)' 9 | int fraction_cmd(), unfactor_cmd(), compare_cmd(), extrema_cmd(); | ^~~~~~~~~~~~ proto.h:99:5: note: previous declaration of 'variables_cmd' with type 'int(char *)' 99 | int variables_cmd(char *cp); | ^~~~~~~~~~~~~ proto.h:107:5: note: previous declaration of 'fraction_cmd' with type 'int(char *)' 107 | int fraction_cmd(char *cp); | ^~~~~~~~~~~~ altproto.h:8:82: error: conflicting types for 'eliminate_cmd'; have 'int(void)' 8 | int clear_cmd(), quit_cmd(), list_cmd(), simplify_cmd(), help_cmd(), eliminate_cmd(); | ^~~~~~~~~~~~~ altproto.h:9:33: error: conflicting types for 'unfactor_cmd'; have 'int(void)' 9 | int fraction_cmd(), unfactor_cmd(), compare_cmd(), extrema_cmd(); | ^~~~~~~~~~~~ altproto.h:8:82: error: conflicting types for 'eliminate_cmd'; have 'int(void)' 8 | int clear_cmd(), quit_cmd(), list_cmd(), simplify_cmd(), help_cmd(), eliminate_cmd(); | ^~~~~~~~~~~~~ proto.h:105:5: note: previous declaration of 'unfactor_cmd' with type 'int(char *)' 105 | int unfactor_cmd(char *cp); | ^~~~~~~~~~~~ proto.h:95:5: note: previous declaration of 'eliminate_cmd' with type 'int(char *)' 95 | int eliminate_cmd(char *cp); | ^~~~~~~~~~~~~ altproto.h:9:49: error: conflicting types for 'compare_cmd'; have 'int(void)' 9 | int fraction_cmd(), unfactor_cmd(), compare_cmd(), extrema_cmd(); | ^~~~~~~~~~~ altproto.h:13:17: error: conflicting types for 'copy_cmd'; have 'int(void)' 13 | int copy_cmd(), divide_cmd(), pause_cmd(), version_cmd(); | ^~~~~~~~ proto.h:92:5: note: previous declaration of 'compare_cmd' with type 'int(char *)' 92 | int compare_cmd(char *cp); | ^~~~~~~~~~~ proto.h:95:5: note: previous declaration of 'eliminate_cmd' with type 'int(char *)' 95 | int eliminate_cmd(char *cp); | ^~~~~~~~~~~~~ altproto.h:9:17: error: conflicting types for 'fraction_cmd'; have 'int(void)' 9 | int fraction_cmd(), unfactor_cmd(), compare_cmd(), extrema_cmd(); | ^~~~~~~~~~~~ proto.h:85:5: note: previous declaration of 'copy_cmd' with type 'int(char *)' 85 | int copy_cmd(char *cp); | ^~~~~~~~ proto.h:107:5: note: previous declaration of 'fraction_cmd' with type 'int(char *)' 107 | int fraction_cmd(char *cp); | ^~~~~~~~~~~~ altproto.h:9:64: error: conflicting types for 'extrema_cmd'; have 'int(void)' 9 | int fraction_cmd(), unfactor_cmd(), compare_cmd(), extrema_cmd(); | ^~~~~~~~~~~ altproto.h:15:58: error: conflicting types for 'code_cmd'; have 'int(void)' 15 | int roots_cmd(), set_cmd(), variables_cmd(), code_cmd(), optimize_cmd(), push_cmd(); | ^~~~~~~~ proto.h:133:5: note: previous declaration of 'extrema_cmd' with type 'int(char *)' 133 | int extrema_cmd(char *cp); | ^~~~~~~~~~~ altproto.h:9:33: error: conflicting types for 'unfactor_cmd'; have 'int(void)' 9 | int fraction_cmd(), unfactor_cmd(), compare_cmd(), extrema_cmd(); | ^~~~~~~~~~~~ altproto.h:13:29: error: conflicting types for 'divide_cmd'; have 'int(void)' 13 | int copy_cmd(), divide_cmd(), pause_cmd(), version_cmd(); | ^~~~~~~~~~ proto.h:105:5: note: previous declaration of 'unfactor_cmd' with type 'int(char *)' 105 | int unfactor_cmd(char *cp); | ^~~~~~~~~~~~ altproto.h:10:17: error: conflicting types for 'read_cmd'; have 'int(void)' 10 | int read_cmd(), display_cmd(), calculate_cmd(), solve_cmd(); | ^~~~~~~~ proto.h:98:5: note: previous declaration of 'code_cmd' with type 'int(char *)' 98 | int code_cmd(char *cp); | ^~~~~~~~ proto.h:94:5: note: previous declaration of 'divide_cmd' with type 'int(char *)' 94 | int divide_cmd(char *cp); | ^~~~~~~~~~ altproto.h:9:49: error: conflicting types for 'compare_cmd'; have 'int(void)' 9 | int fraction_cmd(), unfactor_cmd(), compare_cmd(), extrema_cmd(); | ^~~~~~~~~~~ altproto.h:9:17: error: conflicting types for 'fraction_cmd'; have 'int(void)' 9 | int fraction_cmd(), unfactor_cmd(), compare_cmd(), extrema_cmd(); | ^~~~~~~~~~~~ proto.h:109:5: note: previous declaration of 'read_cmd' with type 'int(char *)' 109 | int read_cmd(char *cp); | ^~~~~~~~ proto.h:92:5: note: previous declaration of 'compare_cmd' with type 'int(char *)' 92 | int compare_cmd(char *cp); | ^~~~~~~~~~~ altproto.h:13:43: error: conflicting types for 'pause_cmd'; have 'int(void)' 13 | int copy_cmd(), divide_cmd(), pause_cmd(), version_cmd(); | ^~~~~~~~~ proto.h:107:5: note: previous declaration of 'fraction_cmd' with type 'int(char *)' 107 | int fraction_cmd(char *cp); | ^~~~~~~~~~~~ proto.h:84:5: note: previous declaration of 'pause_cmd' with type 'int(char *)' 84 | int pause_cmd(char *cp); | ^~~~~~~~~ altproto.h:15:70: error: conflicting types for 'optimize_cmd'; have 'int(void)' 15 | int roots_cmd(), set_cmd(), variables_cmd(), code_cmd(), optimize_cmd(), push_cmd(); | ^~~~~~~~~~~~ altproto.h:9:64: error: conflicting types for 'extrema_cmd'; have 'int(void)' 9 | int fraction_cmd(), unfactor_cmd(), compare_cmd(), extrema_cmd(); | ^~~~~~~~~~~ altproto.h:9:33: error: conflicting types for 'unfactor_cmd'; have 'int(void)' 9 | int fraction_cmd(), unfactor_cmd(), compare_cmd(), extrema_cmd(); | ^~~~~~~~~~~~ altproto.h:10:29: error: conflicting types for 'display_cmd'; have 'int(void)' 10 | int read_cmd(), display_cmd(), calculate_cmd(), solve_cmd(); | ^~~~~~~~~~~ proto.h:133:5: note: previous declaration of 'extrema_cmd' with type 'int(char *)' 133 | int extrema_cmd(char *cp); | ^~~~~~~~~~~ proto.h:105:5: note: previous declaration of 'unfactor_cmd' with type 'int(char *)' 105 | int unfactor_cmd(char *cp); | ^~~~~~~~~~~~ proto.h:73:5: note: previous declaration of 'optimize_cmd' with type 'int(char *)' 73 | int optimize_cmd(char *cp); | ^~~~~~~~~~~~ proto.h:96:5: note: previous declaration of 'display_cmd' with type 'int(char *)' 96 | int display_cmd(char *cp); | ^~~~~~~~~~~ altproto.h:13:56: error: conflicting types for 'version_cmd'; have 'int(void)' 13 | int copy_cmd(), divide_cmd(), pause_cmd(), version_cmd(); | ^~~~~~~~~~~ altproto.h:9:49: error: conflicting types for 'compare_cmd'; have 'int(void)' 9 | int fraction_cmd(), unfactor_cmd(), compare_cmd(), extrema_cmd(); | ^~~~~~~~~~~ altproto.h:10:17: error: conflicting types for 'read_cmd'; have 'int(void)' 10 | int read_cmd(), display_cmd(), calculate_cmd(), solve_cmd(); | ^~~~~~~~ altproto.h:15:86: error: conflicting types for 'push_cmd'; have 'int(void)' 15 | int roots_cmd(), set_cmd(), variables_cmd(), code_cmd(), optimize_cmd(), push_cmd(); | ^~~~~~~~ altproto.h:10:44: error: conflicting types for 'calculate_cmd'; have 'int(void)' 10 | int read_cmd(), display_cmd(), calculate_cmd(), solve_cmd(); | ^~~~~~~~~~~~~ proto.h:92:5: note: previous declaration of 'compare_cmd' with type 'int(char *)' 92 | int compare_cmd(char *cp); | ^~~~~~~~~~~ proto.h:109:5: note: previous declaration of 'read_cmd' with type 'int(char *)' 109 | int read_cmd(char *cp); | ^~~~~~~~ proto.h:65:5: note: previous declaration of 'version_cmd' with type 'int(char *)' 65 | int version_cmd(char *cp); | ^~~~~~~~~~~ proto.h:74:5: note: previous declaration of 'push_cmd' with type 'int(char *)' 74 | int push_cmd(char *cp); | ^~~~~~~~ altproto.h:10:29: error: conflicting types for 'display_cmd'; have 'int(void)' 10 | int read_cmd(), display_cmd(), calculate_cmd(), solve_cmd(); | ^~~~~~~~~~~ proto.h:89:5: note: previous declaration of 'calculate_cmd' with type 'int(char *)' 89 | int calculate_cmd(char *cp); | ^~~~~~~~~~~~~ proto.h:96:5: note: previous declaration of 'display_cmd' with type 'int(char *)' 96 | int display_cmd(char *cp); | ^~~~~~~~~~~ altproto.h:9:64: error: conflicting types for 'extrema_cmd'; have 'int(void)' 9 | int fraction_cmd(), unfactor_cmd(), compare_cmd(), extrema_cmd(); | ^~~~~~~~~~~ altproto.h:16:17: error: conflicting types for 'sum_cmd'; have 'int(void)' 16 | int sum_cmd(), product_cmd(), for_cmd(), integrate_cmd(), nintegrate_cmd(), laplace_cmd(); | ^~~~~~~ altproto.h:14:17: error: conflicting types for 'edit_cmd'; have 'int(void)' 14 | int edit_cmd(), real_cmd(), imaginary_cmd(), tally_cmd(); | ^~~~~~~~ altproto.h:10:44: error: conflicting types for 'calculate_cmd'; have 'int(void)' 10 | int read_cmd(), display_cmd(), calculate_cmd(), solve_cmd(); | ^~~~~~~~~~~~~ proto.h:70:5: note: previous declaration of 'sum_cmd' with type 'int(char *)' 70 | int sum_cmd(char *cp); | ^~~~~~~ proto.h:89:5: note: previous declaration of 'calculate_cmd' with type 'int(char *)' 89 | int calculate_cmd(char *cp); | ^~~~~~~~~~~~~ proto.h:133:5: note: previous declaration of 'extrema_cmd' with type 'int(char *)' 133 | int extrema_cmd(char *cp); | ^~~~~~~~~~~ altproto.h:10:61: error: conflicting types for 'solve_cmd'; have 'int(void)' 10 | int read_cmd(), display_cmd(), calculate_cmd(), solve_cmd(); | ^~~~~~~~~ altproto.h:10:61: error: conflicting types for 'solve_cmd'; have 'int(void)' 10 | int read_cmd(), display_cmd(), calculate_cmd(), solve_cmd(); | ^~~~~~~~~ altproto.h:16:28: error: conflicting types for 'product_cmd'; have 'int(void)' 16 | int sum_cmd(), product_cmd(), for_cmd(), integrate_cmd(), nintegrate_cmd(), laplace_cmd(); | ^~~~~~~~~~~ proto.h:69:5: note: previous declaration of 'solve_cmd' with type 'int(char *)' 69 | int solve_cmd(char *cp); | ^~~~~~~~~ proto.h:69:5: note: previous declaration of 'solve_cmd' with type 'int(char *)' 69 | int solve_cmd(char *cp); | ^~~~~~~~~ proto.h:112:5: note: previous declaration of 'edit_cmd' with type 'int(char *)' 112 | int edit_cmd(char *cp); | ^~~~~~~~ proto.h:71:5: note: previous declaration of 'product_cmd' with type 'int(char *)' 71 | int product_cmd(char *cp); | ^~~~~~~~~~~ altproto.h:11:17: error: conflicting types for 'factor_cmd'; have 'int(void)' 11 | int factor_cmd(), derivative_cmd(), replace_cmd(), approximate_cmd(); | ^~~~~~~~~~ proto.h:103:5: note: previous declaration of 'factor_cmd' with type 'int(char *)' 103 | int factor_cmd(char *cp); | ^~~~~~~~~~ altproto.h:16:43: error: conflicting types for 'for_cmd'; have 'int(void)' 16 | int sum_cmd(), product_cmd(), for_cmd(), integrate_cmd(), nintegrate_cmd(), laplace_cmd(); | ^~~~~~~ altproto.h:11:17: error: conflicting types for 'factor_cmd'; have 'int(void)' 11 | int factor_cmd(), derivative_cmd(), replace_cmd(), approximate_cmd(); | ^~~~~~~~~~ proto.h:72:5: note: previous declaration of 'for_cmd' with type 'int(char *)' 72 | int for_cmd(char *cp); | ^~~~~~~ proto.h:103:5: note: previous declaration of 'factor_cmd' with type 'int(char *)' 103 | int factor_cmd(char *cp); | ^~~~~~~~~~ altproto.h:11:31: error: conflicting types for 'derivative_cmd'; have 'int(void)' 11 | int factor_cmd(), derivative_cmd(), replace_cmd(), approximate_cmd(); | ^~~~~~~~~~~~~~ altproto.h:10:17: error: conflicting types for 'read_cmd'; have 'int(void)' 10 | int read_cmd(), display_cmd(), calculate_cmd(), solve_cmd(); | ^~~~~~~~ altproto.h:16:54: error: conflicting types for 'integrate_cmd'; have 'int(void)' 16 | int sum_cmd(), product_cmd(), for_cmd(), integrate_cmd(), nintegrate_cmd(), laplace_cmd(); | ^~~~~~~~~~~~~ proto.h:177:5: note: previous declaration of 'integrate_cmd' with type 'int(char *)' 177 | int integrate_cmd(char *cp); | ^~~~~~~~~~~~~ proto.h:132:5: note: previous declaration of 'derivative_cmd' with type 'int(char *)' 132 | int derivative_cmd(char *cp); | ^~~~~~~~~~~~~~ proto.h:109:5: note: previous declaration of 'read_cmd' with type 'int(char *)' 109 | int read_cmd(char *cp); | ^~~~~~~~ altproto.h:14:29: error: conflicting types for 'real_cmd'; have 'int(void)' 14 | int edit_cmd(), real_cmd(), imaginary_cmd(), tally_cmd(); | ^~~~~~~~ altproto.h:11:31: error: conflicting types for 'derivative_cmd'; have 'int(void)' 11 | int factor_cmd(), derivative_cmd(), replace_cmd(), approximate_cmd(); | ^~~~~~~~~~~~~~ proto.h:86:5: note: previous declaration of 'real_cmd' with type 'int(char *)' 86 | int real_cmd(char *cp); | ^~~~~~~~ altproto.h:10:29: error: conflicting types for 'display_cmd'; have 'int(void)' 10 | int read_cmd(), display_cmd(), calculate_cmd(), solve_cmd(); | ^~~~~~~~~~~ proto.h:132:5: note: previous declaration of 'derivative_cmd' with type 'int(char *)' 132 | int derivative_cmd(char *cp); | ^~~~~~~~~~~~~~ proto.h:96:5: note: previous declaration of 'display_cmd' with type 'int(char *)' 96 | int display_cmd(char *cp); | ^~~~~~~~~~~ altproto.h:14:41: error: conflicting types for 'imaginary_cmd'; have 'int(void)' 14 | int edit_cmd(), real_cmd(), imaginary_cmd(), tally_cmd(); | ^~~~~~~~~~~~~ altproto.h:10:44: error: conflicting types for 'calculate_cmd'; have 'int(void)' 10 | int read_cmd(), display_cmd(), calculate_cmd(), solve_cmd(); | ^~~~~~~~~~~~~ proto.h:89:5: note: previous declaration of 'calculate_cmd' with type 'int(char *)' 89 | int calculate_cmd(char *cp); | ^~~~~~~~~~~~~ altproto.h:16:71: error: conflicting types for 'nintegrate_cmd'; have 'int(void)' 16 | int sum_cmd(), product_cmd(), for_cmd(), integrate_cmd(), nintegrate_cmd(), laplace_cmd(); | ^~~~~~~~~~~~~~ altproto.h:11:49: error: conflicting types for 'replace_cmd'; have 'int(void)' 11 | int factor_cmd(), derivative_cmd(), replace_cmd(), approximate_cmd(); | ^~~~~~~~~~~ proto.h:87:5: note: previous declaration of 'imaginary_cmd' with type 'int(char *)' 87 | int imaginary_cmd(char *cp); | ^~~~~~~~~~~~~ altproto.h:10:61: error: conflicting types for 'solve_cmd'; have 'int(void)' 10 | int read_cmd(), display_cmd(), calculate_cmd(), solve_cmd(); | ^~~~~~~~~ proto.h:69:5: note: previous declaration of 'solve_cmd' with type 'int(char *)' 69 | int solve_cmd(char *cp); | ^~~~~~~~~ altproto.h:14:58: error: conflicting types for 'tally_cmd'; have 'int(void)' 14 | int edit_cmd(), real_cmd(), imaginary_cmd(), tally_cmd(); | ^~~~~~~~~ proto.h:101:5: note: previous declaration of 'replace_cmd' with type 'int(char *)' 101 | int replace_cmd(char *cp); | ^~~~~~~~~~~ proto.h:88:5: note: previous declaration of 'tally_cmd' with type 'int(char *)' 88 | int tally_cmd(char *cp); | ^~~~~~~~~ altproto.h:11:17: error: conflicting types for 'factor_cmd'; have 'int(void)' 11 | int factor_cmd(), derivative_cmd(), replace_cmd(), approximate_cmd(); | ^~~~~~~~~~ proto.h:103:5: note: previous declaration of 'factor_cmd' with type 'int(char *)' 103 | int factor_cmd(char *cp); | ^~~~~~~~~~ altproto.h:15:17: error: conflicting types for 'roots_cmd'; have 'int(void)' 15 | int roots_cmd(), set_cmd(), variables_cmd(), code_cmd(), optimize_cmd(), push_cmd(); | ^~~~~~~~~ altproto.h:11:31: error: conflicting types for 'derivative_cmd'; have 'int(void)' 11 | int factor_cmd(), derivative_cmd(), replace_cmd(), approximate_cmd(); | ^~~~~~~~~~~~~~ proto.h:116:5: note: previous declaration of 'roots_cmd' with type 'int(char *)' 116 | int roots_cmd(char *cp); | ^~~~~~~~~ altproto.h:11:64: error: conflicting types for 'approximate_cmd'; have 'int(void)' 11 | int factor_cmd(), derivative_cmd(), replace_cmd(), approximate_cmd(); | ^~~~~~~~~~~~~~~ proto.h:132:5: note: previous declaration of 'derivative_cmd' with type 'int(char *)' 132 | int derivative_cmd(char *cp); | ^~~~~~~~~~~~~~ proto.h:179:5: note: previous declaration of 'nintegrate_cmd' with type 'int(char *)' 179 | int nintegrate_cmd(char *cp); | ^~~~~~~~~~~~~~ altproto.h:11:49: error: conflicting types for 'replace_cmd'; have 'int(void)' 11 | int factor_cmd(), derivative_cmd(), replace_cmd(), approximate_cmd(); | ^~~~~~~~~~~ altproto.h:11:49: error: conflicting types for 'replace_cmd'; have 'int(void)' 11 | int factor_cmd(), derivative_cmd(), replace_cmd(), approximate_cmd(); | ^~~~~~~~~~~ proto.h:100:5: note: previous declaration of 'approximate_cmd' with type 'int(char *)' 100 | int approximate_cmd(char *cp); | ^~~~~~~~~~~~~~~ proto.h:101:5: note: previous declaration of 'replace_cmd' with type 'int(char *)' 101 | int replace_cmd(char *cp); | ^~~~~~~~~~~ altproto.h:15:30: error: conflicting types for 'set_cmd'; have 'int(void)' 15 | int roots_cmd(), set_cmd(), variables_cmd(), code_cmd(), optimize_cmd(), push_cmd(); | ^~~~~~~ proto.h:101:5: note: previous declaration of 'replace_cmd' with type 'int(char *)' 101 | int replace_cmd(char *cp); | ^~~~~~~~~~~ altproto.h:11:64: error: conflicting types for 'approximate_cmd'; have 'int(void)' 11 | int factor_cmd(), derivative_cmd(), replace_cmd(), approximate_cmd(); | ^~~~~~~~~~~~~~~ proto.h:82:5: note: previous declaration of 'set_cmd' with type 'int(char *)' 82 | int set_cmd(char *cp); | ^~~~~~~ proto.h:100:5: note: previous declaration of 'approximate_cmd' with type 'int(char *)' 100 | int approximate_cmd(char *cp); | ^~~~~~~~~~~~~~~ altproto.h:11:64: error: conflicting types for 'approximate_cmd'; have 'int(void)' 11 | int factor_cmd(), derivative_cmd(), replace_cmd(), approximate_cmd(); | ^~~~~~~~~~~~~~~ altproto.h:15:41: error: conflicting types for 'variables_cmd'; have 'int(void)' 15 | int roots_cmd(), set_cmd(), variables_cmd(), code_cmd(), optimize_cmd(), push_cmd(); | ^~~~~~~~~~~~~ altproto.h:12:17: error: conflicting types for 'save_cmd'; have 'int(void)' 12 | int save_cmd(), taylor_cmd(), limit_cmd(), echo_cmd(), plot_cmd(); | ^~~~~~~~ proto.h:100:5: note: previous declaration of 'approximate_cmd' with type 'int(char *)' 100 | int approximate_cmd(char *cp); | ^~~~~~~~~~~~~~~ altproto.h:12:17: error: conflicting types for 'save_cmd'; have 'int(void)' 12 | int save_cmd(), taylor_cmd(), limit_cmd(), echo_cmd(), plot_cmd(); | ^~~~~~~~ proto.h:113:5: note: previous declaration of 'save_cmd' with type 'int(char *)' 113 | int save_cmd(char *cp); | ^~~~~~~~ proto.h:99:5: note: previous declaration of 'variables_cmd' with type 'int(char *)' 99 | int variables_cmd(char *cp); | ^~~~~~~~~~~~~ proto.h:113:5: note: previous declaration of 'save_cmd' with type 'int(char *)' 113 | int save_cmd(char *cp); | ^~~~~~~~ altproto.h:15:58: error: conflicting types for 'code_cmd'; have 'int(void)' 15 | int roots_cmd(), set_cmd(), variables_cmd(), code_cmd(), optimize_cmd(), push_cmd(); | ^~~~~~~~ altproto.h:12:17: error: conflicting types for 'save_cmd'; have 'int(void)' 12 | int save_cmd(), taylor_cmd(), limit_cmd(), echo_cmd(), plot_cmd(); | ^~~~~~~~ altproto.h:16:89: error: conflicting types for 'laplace_cmd'; have 'int(void)' 16 | int sum_cmd(), product_cmd(), for_cmd(), integrate_cmd(), nintegrate_cmd(), laplace_cmd(); | ^~~~~~~~~~~ altproto.h:12:29: error: conflicting types for 'taylor_cmd'; have 'int(void)' 12 | int save_cmd(), taylor_cmd(), limit_cmd(), echo_cmd(), plot_cmd(); | ^~~~~~~~~~ proto.h:113:5: note: previous declaration of 'save_cmd' with type 'int(char *)' 113 | int save_cmd(char *cp); | ^~~~~~~~ proto.h:98:5: note: previous declaration of 'code_cmd' with type 'int(char *)' 98 | int code_cmd(char *cp); | ^~~~~~~~ proto.h:178:5: note: previous declaration of 'laplace_cmd' with type 'int(char *)' 178 | int laplace_cmd(char *cp); | ^~~~~~~~~~~ altproto.h:12:29: error: conflicting types for 'taylor_cmd'; have 'int(void)' 12 | int save_cmd(), taylor_cmd(), limit_cmd(), echo_cmd(), plot_cmd(); | ^~~~~~~~~~ proto.h:134:5: note: previous declaration of 'taylor_cmd' with type 'int(char *)' 134 | int taylor_cmd(char *cp); | ^~~~~~~~~~ altproto.h:12:29: error: conflicting types for 'taylor_cmd'; have 'int(void)' 12 | int save_cmd(), taylor_cmd(), limit_cmd(), echo_cmd(), plot_cmd(); | ^~~~~~~~~~ altproto.h:15:70: error: conflicting types for 'optimize_cmd'; have 'int(void)' 15 | int roots_cmd(), set_cmd(), variables_cmd(), code_cmd(), optimize_cmd(), push_cmd(); | ^~~~~~~~~~~~ proto.h:134:5: note: previous declaration of 'taylor_cmd' with type 'int(char *)' 134 | int taylor_cmd(char *cp); | ^~~~~~~~~~ proto.h:134:5: note: previous declaration of 'taylor_cmd' with type 'int(char *)' 134 | int taylor_cmd(char *cp); | ^~~~~~~~~~ altproto.h:20:18: error: conflicting types for 'skip_space'; have 'char *(void)' 20 | char *skip_space(), *skip_comma_space(), *skip_param(); | ^~~~~~~~~~ altproto.h:12:43: error: conflicting types for 'limit_cmd'; have 'int(void)' 12 | int save_cmd(), taylor_cmd(), limit_cmd(), echo_cmd(), plot_cmd(); | ^~~~~~~~~ proto.h:73:5: note: previous declaration of 'optimize_cmd' with type 'int(char *)' 73 | int optimize_cmd(char *cp); | ^~~~~~~~~~~~ altproto.h:12:43: error: conflicting types for 'limit_cmd'; have 'int(void)' 12 | int save_cmd(), taylor_cmd(), limit_cmd(), echo_cmd(), plot_cmd(); | ^~~~~~~~~ proto.h:47:7: note: previous declaration of 'skip_space' with type 'char *(char *)' 47 | char *skip_space(char *cp); | ^~~~~~~~~~ proto.h:135:5: note: previous declaration of 'limit_cmd' with type 'int(char *)' 135 | int limit_cmd(char *cp); | ^~~~~~~~~ proto.h:135:5: note: previous declaration of 'limit_cmd' with type 'int(char *)' 135 | int limit_cmd(char *cp); | ^~~~~~~~~ altproto.h:15:86: error: conflicting types for 'push_cmd'; have 'int(void)' 15 | int roots_cmd(), set_cmd(), variables_cmd(), code_cmd(), optimize_cmd(), push_cmd(); | ^~~~~~~~ altproto.h:20:33: error: conflicting types for 'skip_comma_space'; have 'char *(void)' 20 | char *skip_space(), *skip_comma_space(), *skip_param(); | ^~~~~~~~~~~~~~~~ altproto.h:12:56: error: conflicting types for 'echo_cmd'; have 'int(void)' 12 | int save_cmd(), taylor_cmd(), limit_cmd(), echo_cmd(), plot_cmd(); | ^~~~~~~~ proto.h:74:5: note: previous declaration of 'push_cmd' with type 'int(char *)' 74 | int push_cmd(char *cp); | ^~~~~~~~ proto.h:48:7: note: previous declaration of 'skip_comma_space' with type 'char *(char *)' 48 | char *skip_comma_space(char *cp); | ^~~~~~~~~~~~~~~~ altproto.h:12:43: error: conflicting types for 'limit_cmd'; have 'int(void)' 12 | int save_cmd(), taylor_cmd(), limit_cmd(), echo_cmd(), plot_cmd(); | ^~~~~~~~~ proto.h:83:5: note: previous declaration of 'echo_cmd' with type 'int(char *)' 83 | int echo_cmd(char *cp); | ^~~~~~~~ altproto.h:12:56: error: conflicting types for 'echo_cmd'; have 'int(void)' 12 | int save_cmd(), taylor_cmd(), limit_cmd(), echo_cmd(), plot_cmd(); | ^~~~~~~~ altproto.h:20:54: error: conflicting types for 'skip_param'; have 'char *(void)' 20 | char *skip_space(), *skip_comma_space(), *skip_param(); | ^~~~~~~~~~ proto.h:135:5: note: previous declaration of 'limit_cmd' with type 'int(char *)' 135 | int limit_cmd(char *cp); | ^~~~~~~~~ altproto.h:16:17: error: conflicting types for 'sum_cmd'; have 'int(void)' 16 | int sum_cmd(), product_cmd(), for_cmd(), integrate_cmd(), nintegrate_cmd(), laplace_cmd(); | ^~~~~~~ proto.h:83:5: note: previous declaration of 'echo_cmd' with type 'int(char *)' 83 | int echo_cmd(char *cp); | ^~~~~~~~ proto.h:51:7: note: previous declaration of 'skip_param' with type 'char *(char *)' 51 | char *skip_param(char *cp); | ^~~~~~~~~~ proto.h:70:5: note: previous declaration of 'sum_cmd' with type 'int(char *)' 70 | int sum_cmd(char *cp); | ^~~~~~~ altproto.h:12:68: error: conflicting types for 'plot_cmd'; have 'int(void)' 12 | int save_cmd(), taylor_cmd(), limit_cmd(), echo_cmd(), plot_cmd(); | ^~~~~~~~ altproto.h:12:56: error: conflicting types for 'echo_cmd'; have 'int(void)' 12 | int save_cmd(), taylor_cmd(), limit_cmd(), echo_cmd(), plot_cmd(); | ^~~~~~~~ proto.h:64:5: note: previous declaration of 'plot_cmd' with type 'int(char *)' 64 | int plot_cmd(char *cp); | ^~~~~~~~ altproto.h:12:68: error: conflicting types for 'plot_cmd'; have 'int(void)' 12 | int save_cmd(), taylor_cmd(), limit_cmd(), echo_cmd(), plot_cmd(); | ^~~~~~~~ altproto.h:21:18: error: conflicting types for 'get_string'; have 'char *(void)' 21 | char *get_string(); | ^~~~~~~~~~ altproto.h:16:28: error: conflicting types for 'product_cmd'; have 'int(void)' 16 | int sum_cmd(), product_cmd(), for_cmd(), integrate_cmd(), nintegrate_cmd(), laplace_cmd(); | ^~~~~~~~~~~ proto.h:83:5: note: previous declaration of 'echo_cmd' with type 'int(char *)' 83 | int echo_cmd(char *cp); | ^~~~~~~~ proto.h:64:5: note: previous declaration of 'plot_cmd' with type 'int(char *)' 64 | int plot_cmd(char *cp); | ^~~~~~~~ proto.h:71:5: note: previous declaration of 'product_cmd' with type 'int(char *)' 71 | int product_cmd(char *cp); | ^~~~~~~~~~~ proto.h:39:7: note: previous declaration of 'get_string' with type 'char *(char *, int)' 39 | char *get_string(char *string, int n); | ^~~~~~~~~~ altproto.h:13:17: error: conflicting types for 'copy_cmd'; have 'int(void)' 13 | int copy_cmd(), divide_cmd(), pause_cmd(), version_cmd(); | ^~~~~~~~ altproto.h:22:18: error: conflicting types for 'parse_equation'; have 'char *(void)' 22 | char *parse_equation(), *parse_section(), *parse_var(), *parse_var2(), *parse_expr(); | ^~~~~~~~~~~~~~ altproto.h:13:17: error: conflicting types for 'copy_cmd'; have 'int(void)' 13 | int copy_cmd(), divide_cmd(), pause_cmd(), version_cmd(); | ^~~~~~~~ altproto.h:16:43: error: conflicting types for 'for_cmd'; have 'int(void)' 16 | int sum_cmd(), product_cmd(), for_cmd(), integrate_cmd(), nintegrate_cmd(), laplace_cmd(); | ^~~~~~~ altproto.h:12:68: error: conflicting types for 'plot_cmd'; have 'int(void)' 12 | int save_cmd(), taylor_cmd(), limit_cmd(), echo_cmd(), plot_cmd(); | ^~~~~~~~ proto.h:85:5: note: previous declaration of 'copy_cmd' with type 'int(char *)' 85 | int copy_cmd(char *cp); | ^~~~~~~~ proto.h:85:5: note: previous declaration of 'copy_cmd' with type 'int(char *)' 85 | int copy_cmd(char *cp); | ^~~~~~~~ proto.h:222:7: note: previous declaration of 'parse_equation' with type 'char *(int, char *)' 222 | char *parse_equation(int n, char *cp); | ^~~~~~~~~~~~~~ proto.h:72:5: note: previous declaration of 'for_cmd' with type 'int(char *)' 72 | int for_cmd(char *cp); | ^~~~~~~ proto.h:64:5: note: previous declaration of 'plot_cmd' with type 'int(char *)' 64 | int plot_cmd(char *cp); | ^~~~~~~~ altproto.h:13:29: error: conflicting types for 'divide_cmd'; have 'int(void)' 13 | int copy_cmd(), divide_cmd(), pause_cmd(), version_cmd(); | ^~~~~~~~~~ proto.h:94:5: note: previous declaration of 'divide_cmd' with type 'int(char *)' 94 | int divide_cmd(char *cp); | ^~~~~~~~~~ altproto.h:13:29: error: conflicting types for 'divide_cmd'; have 'int(void)' 13 | int copy_cmd(), divide_cmd(), pause_cmd(), version_cmd(); | ^~~~~~~~~~ altproto.h:16:54: error: conflicting types for 'integrate_cmd'; have 'int(void)' 16 | int sum_cmd(), product_cmd(), for_cmd(), integrate_cmd(), nintegrate_cmd(), laplace_cmd(); | ^~~~~~~~~~~~~ altproto.h:13:17: error: conflicting types for 'copy_cmd'; have 'int(void)' 13 | int copy_cmd(), divide_cmd(), pause_cmd(), version_cmd(); | ^~~~~~~~ proto.h:94:5: note: previous declaration of 'divide_cmd' with type 'int(char *)' 94 | int divide_cmd(char *cp); | ^~~~~~~~~~ altproto.h:13:43: error: conflicting types for 'pause_cmd'; have 'int(void)' 13 | int copy_cmd(), divide_cmd(), pause_cmd(), version_cmd(); | ^~~~~~~~~ proto.h:85:5: note: previous declaration of 'copy_cmd' with type 'int(char *)' 85 | int copy_cmd(char *cp); | ^~~~~~~~ proto.h:177:5: note: previous declaration of 'integrate_cmd' with type 'int(char *)' 177 | int integrate_cmd(char *cp); | ^~~~~~~~~~~~~ altproto.h:13:43: error: conflicting types for 'pause_cmd'; have 'int(void)' 13 | int copy_cmd(), divide_cmd(), pause_cmd(), version_cmd(); | ^~~~~~~~~ altproto.h:13:29: error: conflicting types for 'divide_cmd'; have 'int(void)' 13 | int copy_cmd(), divide_cmd(), pause_cmd(), version_cmd(); | ^~~~~~~~~~ proto.h:84:5: note: previous declaration of 'pause_cmd' with type 'int(char *)' 84 | int pause_cmd(char *cp); | ^~~~~~~~~ proto.h:94:5: note: previous declaration of 'divide_cmd' with type 'int(char *)' 94 | int divide_cmd(char *cp); | ^~~~~~~~~~ altproto.h:16:71: error: conflicting types for 'nintegrate_cmd'; have 'int(void)' 16 | int sum_cmd(), product_cmd(), for_cmd(), integrate_cmd(), nintegrate_cmd(), laplace_cmd(); | ^~~~~~~~~~~~~~ altproto.h:13:43: error: conflicting types for 'pause_cmd'; have 'int(void)' 13 | int copy_cmd(), divide_cmd(), pause_cmd(), version_cmd(); | ^~~~~~~~~ altproto.h:13:56: error: conflicting types for 'version_cmd'; have 'int(void)' 13 | int copy_cmd(), divide_cmd(), pause_cmd(), version_cmd(); | ^~~~~~~~~~~ proto.h:179:5: note: previous declaration of 'nintegrate_cmd' with type 'int(char *)' 179 | int nintegrate_cmd(char *cp); | ^~~~~~~~~~~~~~ proto.h:84:5: note: previous declaration of 'pause_cmd' with type 'int(char *)' 84 | int pause_cmd(char *cp); | ^~~~~~~~~ proto.h:65:5: note: previous declaration of 'version_cmd' with type 'int(char *)' 65 | int version_cmd(char *cp); | ^~~~~~~~~~~ altproto.h:16:89: error: conflicting types for 'laplace_cmd'; have 'int(void)' 16 | int sum_cmd(), product_cmd(), for_cmd(), integrate_cmd(), nintegrate_cmd(), laplace_cmd(); | ^~~~~~~~~~~ proto.h:84:5: note: previous declaration of 'pause_cmd' with type 'int(char *)' 84 | int pause_cmd(char *cp); | ^~~~~~~~~ proto.h:178:5: note: previous declaration of 'laplace_cmd' with type 'int(char *)' 178 | int laplace_cmd(char *cp); | ^~~~~~~~~~~ altproto.h:13:56: error: conflicting types for 'version_cmd'; have 'int(void)' 13 | int copy_cmd(), divide_cmd(), pause_cmd(), version_cmd(); | ^~~~~~~~~~~ altproto.h:14:17: error: conflicting types for 'edit_cmd'; have 'int(void)' 14 | int edit_cmd(), real_cmd(), imaginary_cmd(), tally_cmd(); | ^~~~~~~~ proto.h:65:5: note: previous declaration of 'version_cmd' with type 'int(char *)' 65 | int version_cmd(char *cp); | ^~~~~~~~~~~ proto.h:112:5: note: previous declaration of 'edit_cmd' with type 'int(char *)' 112 | int edit_cmd(char *cp); | ^~~~~~~~ altproto.h:20:18: error: conflicting types for 'skip_space'; have 'char *(void)' 20 | char *skip_space(), *skip_comma_space(), *skip_param(); | ^~~~~~~~~~ altproto.h:14:17: error: conflicting types for 'edit_cmd'; have 'int(void)' 14 | int edit_cmd(), real_cmd(), imaginary_cmd(), tally_cmd(); | ^~~~~~~~ proto.h:47:7: note: previous declaration of 'skip_space' with type 'char *(char *)' 47 | char *skip_space(char *cp); | ^~~~~~~~~~ proto.h:112:5: note: previous declaration of 'edit_cmd' with type 'int(char *)' 112 | int edit_cmd(char *cp); | ^~~~~~~~ altproto.h:14:29: error: conflicting types for 'real_cmd'; have 'int(void)' 14 | int edit_cmd(), real_cmd(), imaginary_cmd(), tally_cmd(); | ^~~~~~~~ altproto.h:20:33: error: conflicting types for 'skip_comma_space'; have 'char *(void)' 20 | char *skip_space(), *skip_comma_space(), *skip_param(); | ^~~~~~~~~~~~~~~~ altproto.h:14:29: error: conflicting types for 'real_cmd'; have 'int(void)' 14 | int edit_cmd(), real_cmd(), imaginary_cmd(), tally_cmd(); | ^~~~~~~~ proto.h:86:5: note: previous declaration of 'real_cmd' with type 'int(char *)' 86 | int real_cmd(char *cp); | ^~~~~~~~ proto.h:48:7: note: previous declaration of 'skip_comma_space' with type 'char *(char *)' 48 | char *skip_comma_space(char *cp); | ^~~~~~~~~~~~~~~~ proto.h:86:5: note: previous declaration of 'real_cmd' with type 'int(char *)' 86 | int real_cmd(char *cp); | ^~~~~~~~ altproto.h:13:56: error: conflicting types for 'version_cmd'; have 'int(void)' 13 | int copy_cmd(), divide_cmd(), pause_cmd(), version_cmd(); | ^~~~~~~~~~~ altproto.h:14:41: error: conflicting types for 'imaginary_cmd'; have 'int(void)' 14 | int edit_cmd(), real_cmd(), imaginary_cmd(), tally_cmd(); | ^~~~~~~~~~~~~ altproto.h:22:37: error: conflicting types for 'parse_section'; have 'char *(void)' 22 | char *parse_equation(), *parse_section(), *parse_var(), *parse_var2(), *parse_expr(); | ^~~~~~~~~~~~~ proto.h:65:5: note: previous declaration of 'version_cmd' with type 'int(char *)' 65 | int version_cmd(char *cp); | ^~~~~~~~~~~ altproto.h:20:54: error: conflicting types for 'skip_param'; have 'char *(void)' 20 | char *skip_space(), *skip_comma_space(), *skip_param(); | ^~~~~~~~~~ altproto.h:14:41: error: conflicting types for 'imaginary_cmd'; have 'int(void)' 14 | int edit_cmd(), real_cmd(), imaginary_cmd(), tally_cmd(); | ^~~~~~~~~~~~~ proto.h:87:5: note: previous declaration of 'imaginary_cmd' with type 'int(char *)' 87 | int imaginary_cmd(char *cp); | ^~~~~~~~~~~~~ proto.h:221:7: note: previous declaration of 'parse_section' with type 'char *(token_type *, int *, char *, int)' 221 | char *parse_section(token_type *equation, int *np, char *cp, int allow_space); | ^~~~~~~~~~~~~ proto.h:87:5: note: previous declaration of 'imaginary_cmd' with type 'int(char *)' 87 | int imaginary_cmd(char *cp); | ^~~~~~~~~~~~~ proto.h:51:7: note: previous declaration of 'skip_param' with type 'char *(char *)' 51 | char *skip_param(char *cp); | ^~~~~~~~~~ altproto.h:14:58: error: conflicting types for 'tally_cmd'; have 'int(void)' 14 | int edit_cmd(), real_cmd(), imaginary_cmd(), tally_cmd(); | ^~~~~~~~~ altproto.h:14:58: error: conflicting types for 'tally_cmd'; have 'int(void)' 14 | int edit_cmd(), real_cmd(), imaginary_cmd(), tally_cmd(); | ^~~~~~~~~ altproto.h:14:17: error: conflicting types for 'edit_cmd'; have 'int(void)' 14 | int edit_cmd(), real_cmd(), imaginary_cmd(), tally_cmd(); | ^~~~~~~~ altproto.h:22:55: error: conflicting types for 'parse_var'; have 'char *(void)' 22 | char *parse_equation(), *parse_section(), *parse_var(), *parse_var2(), *parse_expr(); | ^~~~~~~~~ proto.h:88:5: note: previous declaration of 'tally_cmd' with type 'int(char *)' 88 | int tally_cmd(char *cp); | ^~~~~~~~~ proto.h:88:5: note: previous declaration of 'tally_cmd' with type 'int(char *)' 88 | int tally_cmd(char *cp); | ^~~~~~~~~ proto.h:224:7: note: previous declaration of 'parse_var' with type 'char *(long int *, char *)' 224 | char *parse_var(long *vp, char *cp); | ^~~~~~~~~ proto.h:112:5: note: previous declaration of 'edit_cmd' with type 'int(char *)' 112 | int edit_cmd(char *cp); | ^~~~~~~~ altproto.h:21:18: error: conflicting types for 'get_string'; have 'char *(void)' 21 | char *get_string(); | ^~~~~~~~~~ altproto.h:15:17: error: conflicting types for 'roots_cmd'; have 'int(void)' 15 | int roots_cmd(), set_cmd(), variables_cmd(), code_cmd(), optimize_cmd(), push_cmd(); | ^~~~~~~~~ altproto.h:14:29: error: conflicting types for 'real_cmd'; have 'int(void)' 14 | int edit_cmd(), real_cmd(), imaginary_cmd(), tally_cmd(); | ^~~~~~~~ proto.h:39:7: note: previous declaration of 'get_string' with type 'char *(char *, int)' 39 | char *get_string(char *string, int n); | ^~~~~~~~~~ altproto.h:15:17: error: conflicting types for 'roots_cmd'; have 'int(void)' 15 | int roots_cmd(), set_cmd(), variables_cmd(), code_cmd(), optimize_cmd(), push_cmd(); | ^~~~~~~~~ altproto.h:22:69: error: conflicting types for 'parse_var2'; have 'char *(void)' 22 | char *parse_equation(), *parse_section(), *parse_var(), *parse_var2(), *parse_expr(); | ^~~~~~~~~~ proto.h:116:5: note: previous declaration of 'roots_cmd' with type 'int(char *)' 116 | int roots_cmd(char *cp); | ^~~~~~~~~ proto.h:86:5: note: previous declaration of 'real_cmd' with type 'int(char *)' 86 | int real_cmd(char *cp); | ^~~~~~~~ proto.h:167:7: note: previous declaration of 'parse_var2' with type 'char *(long int *, char *)' 167 | char *parse_var2(long *vp, char *cp); | ^~~~~~~~~~ altproto.h:22:18: error: conflicting types for 'parse_equation'; have 'char *(void)' 22 | char *parse_equation(), *parse_section(), *parse_var(), *parse_var2(), *parse_expr(); | ^~~~~~~~~~~~~~ altproto.h:15:30: error: conflicting types for 'set_cmd'; have 'int(void)' 15 | int roots_cmd(), set_cmd(), variables_cmd(), code_cmd(), optimize_cmd(), push_cmd(); | ^~~~~~~ altproto.h:22:84: error: conflicting types for 'parse_expr'; have 'char *(void)' 22 | char *parse_equation(), *parse_section(), *parse_var(), *parse_var2(), *parse_expr(); | ^~~~~~~~~~ proto.h:116:5: note: previous declaration of 'roots_cmd' with type 'int(char *)' 116 | int roots_cmd(char *cp); | ^~~~~~~~~ proto.h:222:7: note: previous declaration of 'parse_equation' with type 'char *(int, char *)' 222 | char *parse_equation(int n, char *cp); | ^~~~~~~~~~~~~~ proto.h:223:7: note: previous declaration of 'parse_expr' with type 'char *(token_type *, int *, char *, int)' 223 | char *parse_expr(token_type *equation, int *np, char *cp, int allow_space); | ^~~~~~~~~~ proto.h:82:5: note: previous declaration of 'set_cmd' with type 'int(char *)' 82 | int set_cmd(char *cp); | ^~~~~~~ altproto.h:14:41: error: conflicting types for 'imaginary_cmd'; have 'int(void)' 14 | int edit_cmd(), real_cmd(), imaginary_cmd(), tally_cmd(); | ^~~~~~~~~~~~~ altproto.h:22:37: error: conflicting types for 'parse_section'; have 'char *(void)' 22 | char *parse_equation(), *parse_section(), *parse_var(), *parse_var2(), *parse_expr(); | ^~~~~~~~~~~~~ altproto.h:15:30: error: conflicting types for 'set_cmd'; have 'int(void)' 15 | int roots_cmd(), set_cmd(), variables_cmd(), code_cmd(), optimize_cmd(), push_cmd(); | ^~~~~~~ proto.h:87:5: note: previous declaration of 'imaginary_cmd' with type 'int(char *)' 87 | int imaginary_cmd(char *cp); | ^~~~~~~~~~~~~ proto.h:221:7: note: previous declaration of 'parse_section' with type 'char *(token_type *, int *, char *, int)' 221 | char *parse_section(token_type *equation, int *np, char *cp, int allow_space); | ^~~~~~~~~~~~~ proto.h:82:5: note: previous declaration of 'set_cmd' with type 'int(char *)' 82 | int set_cmd(char *cp); | ^~~~~~~ altproto.h:23:18: error: conflicting types for 'list_expression'; have 'char *(void)' 23 | char *list_expression(), *list_equation(), *flist_equation_string(); | ^~~~~~~~~~~~~~~ altproto.h:15:41: error: conflicting types for 'variables_cmd'; have 'int(void)' 15 | int roots_cmd(), set_cmd(), variables_cmd(), code_cmd(), optimize_cmd(), push_cmd(); | ^~~~~~~~~~~~~ altproto.h:15:41: error: conflicting types for 'variables_cmd'; have 'int(void)' 15 | int roots_cmd(), set_cmd(), variables_cmd(), code_cmd(), optimize_cmd(), push_cmd(); | ^~~~~~~~~~~~~ proto.h:99:5: note: previous declaration of 'variables_cmd' with type 'int(char *)' 99 | int variables_cmd(char *cp); | ^~~~~~~~~~~~~ proto.h:192:7: note: previous declaration of 'list_expression' with type 'char *(token_type *, int, int)' 192 | char *list_expression(token_type *p1, int n, int export_flag); | ^~~~~~~~~~~~~~~ altproto.h:22:55: error: conflicting types for 'parse_var'; have 'char *(void)' 22 | char *parse_equation(), *parse_section(), *parse_var(), *parse_var2(), *parse_expr(); | ^~~~~~~~~ altproto.h:14:58: error: conflicting types for 'tally_cmd'; have 'int(void)' 14 | int edit_cmd(), real_cmd(), imaginary_cmd(), tally_cmd(); | ^~~~~~~~~ proto.h:99:5: note: previous declaration of 'variables_cmd' with type 'int(char *)' 99 | int variables_cmd(char *cp); | ^~~~~~~~~~~~~ proto.h:224:7: note: previous declaration of 'parse_var' with type 'char *(long int *, char *)' 224 | char *parse_var(long *vp, char *cp); | ^~~~~~~~~ proto.h:88:5: note: previous declaration of 'tally_cmd' with type 'int(char *)' 88 | int tally_cmd(char *cp); | ^~~~~~~~~ altproto.h:15:58: error: conflicting types for 'code_cmd'; have 'int(void)' 15 | int roots_cmd(), set_cmd(), variables_cmd(), code_cmd(), optimize_cmd(), push_cmd(); | ^~~~~~~~ altproto.h:15:58: error: conflicting types for 'code_cmd'; have 'int(void)' 15 | int roots_cmd(), set_cmd(), variables_cmd(), code_cmd(), optimize_cmd(), push_cmd(); | ^~~~~~~~ proto.h:98:5: note: previous declaration of 'code_cmd' with type 'int(char *)' 98 | int code_cmd(char *cp); | ^~~~~~~~ altproto.h:23:38: error: conflicting types for 'list_equation'; have 'char *(void)' 23 | char *list_expression(), *list_equation(), *flist_equation_string(); | ^~~~~~~~~~~~~ altproto.h:22:69: error: conflicting types for 'parse_var2'; have 'char *(void)' 22 | char *parse_equation(), *parse_section(), *parse_var(), *parse_var2(), *parse_expr(); | ^~~~~~~~~~ altproto.h:15:17: error: conflicting types for 'roots_cmd'; have 'int(void)' 15 | int roots_cmd(), set_cmd(), variables_cmd(), code_cmd(), optimize_cmd(), push_cmd(); | ^~~~~~~~~ proto.h:167:7: note: previous declaration of 'parse_var2' with type 'char *(long int *, char *)' 167 | char *parse_var2(long *vp, char *cp); | ^~~~~~~~~~ altproto.h:15:70: error: conflicting types for 'optimize_cmd'; have 'int(void)' 15 | int roots_cmd(), set_cmd(), variables_cmd(), code_cmd(), optimize_cmd(), push_cmd(); | ^~~~~~~~~~~~ proto.h:98:5: note: previous declaration of 'code_cmd' with type 'int(char *)' 98 | int code_cmd(char *cp); | ^~~~~~~~ proto.h:191:7: note: previous declaration of 'list_equation' with type 'char *(int, int)' 191 | char *list_equation(int n, int export_flag); | ^~~~~~~~~~~~~ altproto.h:22:84: error: conflicting types for 'parse_expr'; have 'char *(void)' 22 | char *parse_equation(), *parse_section(), *parse_var(), *parse_var2(), *parse_expr(); | ^~~~~~~~~~ proto.h:116:5: note: previous declaration of 'roots_cmd' with type 'int(char *)' 116 | int roots_cmd(char *cp); | ^~~~~~~~~ proto.h:223:7: note: previous declaration of 'parse_expr' with type 'char *(token_type *, int *, char *, int)' 223 | char *parse_expr(token_type *equation, int *np, char *cp, int allow_space); | ^~~~~~~~~~ altproto.h:15:70: error: conflicting types for 'optimize_cmd'; have 'int(void)' 15 | int roots_cmd(), set_cmd(), variables_cmd(), code_cmd(), optimize_cmd(), push_cmd(); | ^~~~~~~~~~~~ altproto.h:23:56: error: conflicting types for 'flist_equation_string'; have 'char *(void)' 23 | char *list_expression(), *list_equation(), *flist_equation_string(); | ^~~~~~~~~~~~~~~~~~~~~ proto.h:73:5: note: previous declaration of 'optimize_cmd' with type 'int(char *)' 73 | int optimize_cmd(char *cp); | ^~~~~~~~~~~~ altproto.h:23:18: error: conflicting types for 'list_expression'; have 'char *(void)' 23 | char *list_expression(), *list_equation(), *flist_equation_string(); | ^~~~~~~~~~~~~~~ proto.h:199:7: note: previous declaration of 'flist_equation_string' with type 'char *(int)' 199 | char *flist_equation_string(int n); | ^~~~~~~~~~~~~~~~~~~~~ proto.h:73:5: note: previous declaration of 'optimize_cmd' with type 'int(char *)' 73 | int optimize_cmd(char *cp); | ^~~~~~~~~~~~ proto.h:192:7: note: previous declaration of 'list_expression' with type 'char *(token_type *, int, int)' 192 | char *list_expression(token_type *p1, int n, int export_flag); | ^~~~~~~~~~~~~~~ altproto.h:15:30: error: conflicting types for 'set_cmd'; have 'int(void)' 15 | int roots_cmd(), set_cmd(), variables_cmd(), code_cmd(), optimize_cmd(), push_cmd(); | ^~~~~~~ proto.h:82:5: note: previous declaration of 'set_cmd' with type 'int(char *)' 82 | int set_cmd(char *cp); | ^~~~~~~ altproto.h:15:86: error: conflicting types for 'push_cmd'; have 'int(void)' 15 | int roots_cmd(), set_cmd(), variables_cmd(), code_cmd(), optimize_cmd(), push_cmd(); | ^~~~~~~~ altproto.h:23:38: error: conflicting types for 'list_equation'; have 'char *(void)' 23 | char *list_expression(), *list_equation(), *flist_equation_string(); | ^~~~~~~~~~~~~ altproto.h:24:17: error: conflicting types for 'gcd'; have 'double(void)' 24 | double gcd(), gcd_verified(), my_round(), multiply_out_unique(); | ^~~ proto.h:74:5: note: previous declaration of 'push_cmd' with type 'int(char *)' 74 | int push_cmd(char *cp); | ^~~~~~~~ altproto.h:15:86: error: conflicting types for 'push_cmd'; have 'int(void)' 15 | int roots_cmd(), set_cmd(), variables_cmd(), code_cmd(), optimize_cmd(), push_cmd(); | ^~~~~~~~ proto.h:191:7: note: previous declaration of 'list_equation' with type 'char *(int, int)' 191 | char *list_equation(int n, int export_flag); | ^~~~~~~~~~~~~ altproto.h:15:41: error: conflicting types for 'variables_cmd'; have 'int(void)' 15 | int roots_cmd(), set_cmd(), variables_cmd(), code_cmd(), optimize_cmd(), push_cmd(); | ^~~~~~~~~~~~~ proto.h:152:8: note: previous declaration of 'gcd' with type 'double(double, double)' 152 | double gcd(double d1, double d2); | ^~~ proto.h:74:5: note: previous declaration of 'push_cmd' with type 'int(char *)' 74 | int push_cmd(char *cp); | ^~~~~~~~ proto.h:99:5: note: previous declaration of 'variables_cmd' with type 'int(char *)' 99 | int variables_cmd(char *cp); | ^~~~~~~~~~~~~ altproto.h:23:56: error: conflicting types for 'flist_equation_string'; have 'char *(void)' 23 | char *list_expression(), *list_equation(), *flist_equation_string(); | ^~~~~~~~~~~~~~~~~~~~~ altproto.h:16:17: error: conflicting types for 'sum_cmd'; have 'int(void)' 16 | int sum_cmd(), product_cmd(), for_cmd(), integrate_cmd(), nintegrate_cmd(), laplace_cmd(); | ^~~~~~~ altproto.h:24:24: error: conflicting types for 'gcd_verified'; have 'double(void)' 24 | double gcd(), gcd_verified(), my_round(), multiply_out_unique(); | ^~~~~~~~~~~~ altproto.h:15:58: error: conflicting types for 'code_cmd'; have 'int(void)' 15 | int roots_cmd(), set_cmd(), variables_cmd(), code_cmd(), optimize_cmd(), push_cmd(); | ^~~~~~~~ altproto.h:16:17: error: conflicting types for 'sum_cmd'; have 'int(void)' 16 | int sum_cmd(), product_cmd(), for_cmd(), integrate_cmd(), nintegrate_cmd(), laplace_cmd(); | ^~~~~~~ proto.h:199:7: note: previous declaration of 'flist_equation_string' with type 'char *(int)' 199 | char *flist_equation_string(int n); | ^~~~~~~~~~~~~~~~~~~~~ proto.h:70:5: note: previous declaration of 'sum_cmd' with type 'int(char *)' 70 | int sum_cmd(char *cp); | ^~~~~~~ proto.h:153:8: note: previous declaration of 'gcd_verified' with type 'double(double, double)' 153 | double gcd_verified(double d1, double d2); | ^~~~~~~~~~~~ proto.h:70:5: note: previous declaration of 'sum_cmd' with type 'int(char *)' 70 | int sum_cmd(char *cp); | ^~~~~~~ altproto.h:24:17: error: conflicting types for 'gcd'; have 'double(void)' 24 | double gcd(), gcd_verified(), my_round(), multiply_out_unique(); | ^~~ altproto.h:24:40: error: conflicting types for 'my_round'; have 'double(void)' 24 | double gcd(), gcd_verified(), my_round(), multiply_out_unique(); | ^~~~~~~~ proto.h:152:8: note: previous declaration of 'gcd' with type 'double(double, double)' 152 | double gcd(double d1, double d2); | ^~~ proto.h:154:8: note: previous declaration of 'my_round' with type 'double(double)' 154 | double my_round(double d1); | ^~~~~~~~ altproto.h:16:28: error: conflicting types for 'product_cmd'; have 'int(void)' 16 | int sum_cmd(), product_cmd(), for_cmd(), integrate_cmd(), nintegrate_cmd(), laplace_cmd(); | ^~~~~~~~~~~ proto.h:71:5: note: previous declaration of 'product_cmd' with type 'int(char *)' 71 | int product_cmd(char *cp); | ^~~~~~~~~~~ altproto.h:24:24: error: conflicting types for 'gcd_verified'; have 'double(void)' 24 | double gcd(), gcd_verified(), my_round(), multiply_out_unique(); | ^~~~~~~~~~~~ altproto.h:25:17: error: conflicting types for 'decstrtol'; have 'long int(void)' 25 | long decstrtol(), max_memory_usage(); | ^~~~~~~~~ proto.h:153:8: note: previous declaration of 'gcd_verified' with type 'double(double, double)' 153 | double gcd_verified(double d1, double d2); | ^~~~~~~~~~~~ altproto.h:16:43: error: conflicting types for 'for_cmd'; have 'int(void)' 16 | int sum_cmd(), product_cmd(), for_cmd(), integrate_cmd(), nintegrate_cmd(), laplace_cmd(); | ^~~~~~~ proto.h:49:6: note: previous declaration of 'decstrtol' with type 'long int(char *, char **)' 49 | long decstrtol(char *cp, char **cpp); | ^~~~~~~~~ proto.h:72:5: note: previous declaration of 'for_cmd' with type 'int(char *)' 72 | int for_cmd(char *cp); | ^~~~~~~ altproto.h:24:40: error: conflicting types for 'my_round'; have 'double(void)' 24 | double gcd(), gcd_verified(), my_round(), multiply_out_unique(); | ^~~~~~~~ proto.h:98:5: note: previous declaration of 'code_cmd' with type 'int(char *)' 98 | int code_cmd(char *cp); | ^~~~~~~~ proto.h:154:8: note: previous declaration of 'my_round' with type 'double(double)' 154 | double my_round(double d1); | ^~~~~~~~ altproto.h:16:28: error: conflicting types for 'product_cmd'; have 'int(void)' 16 | int sum_cmd(), product_cmd(), for_cmd(), integrate_cmd(), nintegrate_cmd(), laplace_cmd(); | ^~~~~~~~~~~ altproto.h:16:54: error: conflicting types for 'integrate_cmd'; have 'int(void)' 16 | int sum_cmd(), product_cmd(), for_cmd(), integrate_cmd(), nintegrate_cmd(), laplace_cmd(); | ^~~~~~~~~~~~~ proto.h:71:5: note: previous declaration of 'product_cmd' with type 'int(char *)' 71 | int product_cmd(char *cp); | ^~~~~~~~~~~ proto.h:177:5: note: previous declaration of 'integrate_cmd' with type 'int(char *)' 177 | int integrate_cmd(char *cp); | ^~~~~~~~~~~~~ altproto.h:25:17: error: conflicting types for 'decstrtol'; have 'long int(void)' 25 | long decstrtol(), max_memory_usage(); | ^~~~~~~~~ altproto.h:16:43: error: conflicting types for 'for_cmd'; have 'int(void)' 16 | int sum_cmd(), product_cmd(), for_cmd(), integrate_cmd(), nintegrate_cmd(), laplace_cmd(); | ^~~~~~~ proto.h:49:6: note: previous declaration of 'decstrtol' with type 'long int(char *, char **)' 49 | long decstrtol(char *cp, char **cpp); | ^~~~~~~~~ altproto.h:15:70: error: conflicting types for 'optimize_cmd'; have 'int(void)' 15 | int roots_cmd(), set_cmd(), variables_cmd(), code_cmd(), optimize_cmd(), push_cmd(); | ^~~~~~~~~~~~ altproto.h:16:71: error: conflicting types for 'nintegrate_cmd'; have 'int(void)' 16 | int sum_cmd(), product_cmd(), for_cmd(), integrate_cmd(), nintegrate_cmd(), laplace_cmd(); | ^~~~~~~~~~~~~~ proto.h:72:5: note: previous declaration of 'for_cmd' with type 'int(char *)' 72 | int for_cmd(char *cp); | ^~~~~~~ proto.h:179:5: note: previous declaration of 'nintegrate_cmd' with type 'int(char *)' 179 | int nintegrate_cmd(char *cp); | ^~~~~~~~~~~~~~ proto.h:73:5: note: previous declaration of 'optimize_cmd' with type 'int(char *)' 73 | int optimize_cmd(char *cp); | ^~~~~~~~~~~~ altproto.h:16:54: error: conflicting types for 'integrate_cmd'; have 'int(void)' 16 | int sum_cmd(), product_cmd(), for_cmd(), integrate_cmd(), nintegrate_cmd(), laplace_cmd(); | ^~~~~~~~~~~~~ proto.h:177:5: note: previous declaration of 'integrate_cmd' with type 'int(char *)' 177 | int integrate_cmd(char *cp); | ^~~~~~~~~~~~~ altproto.h:16:89: error: conflicting types for 'laplace_cmd'; have 'int(void)' 16 | int sum_cmd(), product_cmd(), for_cmd(), integrate_cmd(), nintegrate_cmd(), laplace_cmd(); | ^~~~~~~~~~~ altproto.h:15:86: error: conflicting types for 'push_cmd'; have 'int(void)' 15 | int roots_cmd(), set_cmd(), variables_cmd(), code_cmd(), optimize_cmd(), push_cmd(); | ^~~~~~~~ proto.h:178:5: note: previous declaration of 'laplace_cmd' with type 'int(char *)' 178 | int laplace_cmd(char *cp); | ^~~~~~~~~~~ proto.h:74:5: note: previous declaration of 'push_cmd' with type 'int(char *)' 74 | int push_cmd(char *cp); | ^~~~~~~~ altproto.h:16:71: error: conflicting types for 'nintegrate_cmd'; have 'int(void)' 16 | int sum_cmd(), product_cmd(), for_cmd(), integrate_cmd(), nintegrate_cmd(), laplace_cmd(); | ^~~~~~~~~~~~~~ altproto.h:16:17: error: conflicting types for 'sum_cmd'; have 'int(void)' 16 | int sum_cmd(), product_cmd(), for_cmd(), integrate_cmd(), nintegrate_cmd(), laplace_cmd(); | ^~~~~~~ proto.h:179:5: note: previous declaration of 'nintegrate_cmd' with type 'int(char *)' 179 | int nintegrate_cmd(char *cp); | ^~~~~~~~~~~~~~ altproto.h:20:18: error: conflicting types for 'skip_space'; have 'char *(void)' 20 | char *skip_space(), *skip_comma_space(), *skip_param(); | ^~~~~~~~~~ proto.h:70:5: note: previous declaration of 'sum_cmd' with type 'int(char *)' 70 | int sum_cmd(char *cp); | ^~~~~~~ altproto.h:16:89: error: conflicting types for 'laplace_cmd'; have 'int(void)' 16 | int sum_cmd(), product_cmd(), for_cmd(), integrate_cmd(), nintegrate_cmd(), laplace_cmd(); | ^~~~~~~~~~~ proto.h:178:5: note: previous declaration of 'laplace_cmd' with type 'int(char *)' 178 | int laplace_cmd(char *cp); | ^~~~~~~~~~~ altproto.h:16:28: error: conflicting types for 'product_cmd'; have 'int(void)' 16 | int sum_cmd(), product_cmd(), for_cmd(), integrate_cmd(), nintegrate_cmd(), laplace_cmd(); | ^~~~~~~~~~~ altproto.h:20:18: error: conflicting types for 'skip_space'; have 'char *(void)' 20 | char *skip_space(), *skip_comma_space(), *skip_param(); | ^~~~~~~~~~ proto.h:71:5: note: previous declaration of 'product_cmd' with type 'int(char *)' 71 | int product_cmd(char *cp); | ^~~~~~~~~~~ proto.h:47:7: note: previous declaration of 'skip_space' with type 'char *(char *)' 47 | char *skip_space(char *cp); | ^~~~~~~~~~ proto.h:47:7: note: previous declaration of 'skip_space' with type 'char *(char *)' 47 | char *skip_space(char *cp); | ^~~~~~~~~~ altproto.h:20:33: error: conflicting types for 'skip_comma_space'; have 'char *(void)' 20 | char *skip_space(), *skip_comma_space(), *skip_param(); | ^~~~~~~~~~~~~~~~ altproto.h:16:43: error: conflicting types for 'for_cmd'; have 'int(void)' 16 | int sum_cmd(), product_cmd(), for_cmd(), integrate_cmd(), nintegrate_cmd(), laplace_cmd(); | ^~~~~~~ proto.h:48:7: note: previous declaration of 'skip_comma_space' with type 'char *(char *)' 48 | char *skip_comma_space(char *cp); | ^~~~~~~~~~~~~~~~ proto.h:72:5: note: previous declaration of 'for_cmd' with type 'int(char *)' 72 | int for_cmd(char *cp); | ^~~~~~~ altproto.h:20:54: error: conflicting types for 'skip_param'; have 'char *(void)' 20 | char *skip_space(), *skip_comma_space(), *skip_param(); | ^~~~~~~~~~ main.c: In function 'usage': proto.h:51:7: note: previous declaration of 'skip_param' with type 'char *(char *)' 51 | char *skip_param(char *cp); | ^~~~~~~~~~ altproto.h:16:54: error: conflicting types for 'integrate_cmd'; have 'int(void)' 16 | int sum_cmd(), product_cmd(), for_cmd(), integrate_cmd(), nintegrate_cmd(), laplace_cmd(); | ^~~~~~~~~~~~~ altproto.h:21:18: error: conflicting types for 'get_string'; have 'char *(void)' 21 | char *get_string(); | ^~~~~~~~~~ proto.h:177:5: note: previous declaration of 'integrate_cmd' with type 'int(char *)' 177 | int integrate_cmd(char *cp); | ^~~~~~~~~~~~~ altproto.h:20:33: error: conflicting types for 'skip_comma_space'; have 'char *(void)' 20 | char *skip_space(), *skip_comma_space(), *skip_param(); | ^~~~~~~~~~~~~~~~ proto.h:39:7: note: previous declaration of 'get_string' with type 'char *(char *, int)' 39 | char *get_string(char *string, int n); | ^~~~~~~~~~ proto.h:48:7: note: previous declaration of 'skip_comma_space' with type 'char *(char *)' 48 | char *skip_comma_space(char *cp); | ^~~~~~~~~~~~~~~~ altproto.h:22:18: error: conflicting types for 'parse_equation'; have 'char *(void)' 22 | char *parse_equation(), *parse_section(), *parse_var(), *parse_var2(), *parse_expr(); | ^~~~~~~~~~~~~~ altproto.h:16:71: error: conflicting types for 'nintegrate_cmd'; have 'int(void)' 16 | int sum_cmd(), product_cmd(), for_cmd(), integrate_cmd(), nintegrate_cmd(), laplace_cmd(); | ^~~~~~~~~~~~~~ proto.h:222:7: note: previous declaration of 'parse_equation' with type 'char *(int, char *)' 222 | char *parse_equation(int n, char *cp); | ^~~~~~~~~~~~~~ altproto.h:20:54: error: conflicting types for 'skip_param'; have 'char *(void)' 20 | char *skip_space(), *skip_comma_space(), *skip_param(); | ^~~~~~~~~~ proto.h:179:5: note: previous declaration of 'nintegrate_cmd' with type 'int(char *)' 179 | int nintegrate_cmd(char *cp); | ^~~~~~~~~~~~~~ altproto.h:22:37: error: conflicting types for 'parse_section'; have 'char *(void)' 22 | char *parse_equation(), *parse_section(), *parse_var(), *parse_var2(), *parse_expr(); | ^~~~~~~~~~~~~ proto.h:51:7: note: previous declaration of 'skip_param' with type 'char *(char *)' 51 | char *skip_param(char *cp); | ^~~~~~~~~~ proto.h:221:7: note: previous declaration of 'parse_section' with type 'char *(token_type *, int *, char *, int)' 221 | char *parse_section(token_type *equation, int *np, char *cp, int allow_space); | ^~~~~~~~~~~~~ altproto.h:16:89: error: conflicting types for 'laplace_cmd'; have 'int(void)' 16 | int sum_cmd(), product_cmd(), for_cmd(), integrate_cmd(), nintegrate_cmd(), laplace_cmd(); | ^~~~~~~~~~~ proto.h:178:5: note: previous declaration of 'laplace_cmd' with type 'int(char *)' 178 | int laplace_cmd(char *cp); | ^~~~~~~~~~~ altproto.h:22:55: error: conflicting types for 'parse_var'; have 'char *(void)' 22 | char *parse_equation(), *parse_section(), *parse_var(), *parse_var2(), *parse_expr(); | ^~~~~~~~~ altproto.h:21:18: error: conflicting types for 'get_string'; have 'char *(void)' 21 | char *get_string(); | ^~~~~~~~~~ proto.h:224:7: note: previous declaration of 'parse_var' with type 'char *(long int *, char *)' 224 | char *parse_var(long *vp, char *cp); | ^~~~~~~~~ proto.h:39:7: note: previous declaration of 'get_string' with type 'char *(char *, int)' 39 | char *get_string(char *string, int n); | ^~~~~~~~~~ main.c:88:1: warning: old-style function definition [-Wold-style-definition] 88 | usage(fp) | ^~~~~ altproto.h:20:18: error: conflicting types for 'skip_space'; have 'char *(void)' 20 | char *skip_space(), *skip_comma_space(), *skip_param(); | ^~~~~~~~~~ altproto.h:22:69: error: conflicting types for 'parse_var2'; have 'char *(void)' 22 | char *parse_equation(), *parse_section(), *parse_var(), *parse_var2(), *parse_expr(); | ^~~~~~~~~~ altproto.h:22:18: error: conflicting types for 'parse_equation'; have 'char *(void)' 22 | char *parse_equation(), *parse_section(), *parse_var(), *parse_var2(), *parse_expr(); | ^~~~~~~~~~~~~~ proto.h:47:7: note: previous declaration of 'skip_space' with type 'char *(char *)' 47 | char *skip_space(char *cp); | ^~~~~~~~~~ proto.h:167:7: note: previous declaration of 'parse_var2' with type 'char *(long int *, char *)' 167 | char *parse_var2(long *vp, char *cp); | ^~~~~~~~~~ altproto.h:22:84: error: conflicting types for 'parse_expr'; have 'char *(void)' 22 | char *parse_equation(), *parse_section(), *parse_var(), *parse_var2(), *parse_expr(); | ^~~~~~~~~~ altproto.h:20:33: error: conflicting types for 'skip_comma_space'; have 'char *(void)' 20 | char *skip_space(), *skip_comma_space(), *skip_param(); | ^~~~~~~~~~~~~~~~ main.c: In function 'main': proto.h:222:7: note: previous declaration of 'parse_equation' with type 'char *(int, char *)' 222 | char *parse_equation(int n, char *cp); | ^~~~~~~~~~~~~~ proto.h:223:7: note: previous declaration of 'parse_expr' with type 'char *(token_type *, int *, char *, int)' 223 | char *parse_expr(token_type *equation, int *np, char *cp, int allow_space); | ^~~~~~~~~~ main.c:113:1: warning: old-style function definition [-Wold-style-definition] 113 | main(argc, argv) | ^~~~ altproto.h:23:18: error: conflicting types for 'list_expression'; have 'char *(void)' 23 | char *list_expression(), *list_equation(), *flist_equation_string(); | ^~~~~~~~~~~~~~~ proto.h:192:7: note: previous declaration of 'list_expression' with type 'char *(token_type *, int, int)' 192 | char *list_expression(token_type *p1, int n, int export_flag); | ^~~~~~~~~~~~~~~ proto.h:48:7: note: previous declaration of 'skip_comma_space' with type 'char *(char *)' 48 | char *skip_comma_space(char *cp); | ^~~~~~~~~~~~~~~~ altproto.h:22:37: error: conflicting types for 'parse_section'; have 'char *(void)' 22 | char *parse_equation(), *parse_section(), *parse_var(), *parse_var2(), *parse_expr(); | ^~~~~~~~~~~~~ altproto.h:23:38: error: conflicting types for 'list_equation'; have 'char *(void)' 23 | char *list_expression(), *list_equation(), *flist_equation_string(); | ^~~~~~~~~~~~~ proto.h:191:7: note: previous declaration of 'list_equation' with type 'char *(int, int)' 191 | char *list_equation(int n, int export_flag); | ^~~~~~~~~~~~~ proto.h:221:7: note: previous declaration of 'parse_section' with type 'char *(token_type *, int *, char *, int)' 221 | char *parse_section(token_type *equation, int *np, char *cp, int allow_space); | ^~~~~~~~~~~~~ altproto.h:23:56: error: conflicting types for 'flist_equation_string'; have 'char *(void)' 23 | char *list_expression(), *list_equation(), *flist_equation_string(); | ^~~~~~~~~~~~~~~~~~~~~ altproto.h:22:55: error: conflicting types for 'parse_var'; have 'char *(void)' 22 | char *parse_equation(), *parse_section(), *parse_var(), *parse_var2(), *parse_expr(); | ^~~~~~~~~ proto.h:199:7: note: previous declaration of 'flist_equation_string' with type 'char *(int)' 199 | char *flist_equation_string(int n); | ^~~~~~~~~~~~~~~~~~~~~ proto.h:224:7: note: previous declaration of 'parse_var' with type 'char *(long int *, char *)' 224 | char *parse_var(long *vp, char *cp); | ^~~~~~~~~ altproto.h:20:54: error: conflicting types for 'skip_param'; have 'char *(void)' 20 | char *skip_space(), *skip_comma_space(), *skip_param(); | ^~~~~~~~~~ altproto.h:24:17: error: conflicting types for 'gcd'; have 'double(void)' 24 | double gcd(), gcd_verified(), my_round(), multiply_out_unique(); | ^~~ proto.h:51:7: note: previous declaration of 'skip_param' with type 'char *(char *)' 51 | char *skip_param(char *cp); | ^~~~~~~~~~ altproto.h:22:69: error: conflicting types for 'parse_var2'; have 'char *(void)' 22 | char *parse_equation(), *parse_section(), *parse_var(), *parse_var2(), *parse_expr(); | ^~~~~~~~~~ proto.h:152:8: note: previous declaration of 'gcd' with type 'double(double, double)' 152 | double gcd(double d1, double d2); | ^~~ proto.h:167:7: note: previous declaration of 'parse_var2' with type 'char *(long int *, char *)' 167 | char *parse_var2(long *vp, char *cp); | ^~~~~~~~~~ altproto.h:24:24: error: conflicting types for 'gcd_verified'; have 'double(void)' 24 | double gcd(), gcd_verified(), my_round(), multiply_out_unique(); | ^~~~~~~~~~~~ altproto.h:21:18: error: conflicting types for 'get_string'; have 'char *(void)' 21 | char *get_string(); | ^~~~~~~~~~ altproto.h:22:84: error: conflicting types for 'parse_expr'; have 'char *(void)' 22 | char *parse_equation(), *parse_section(), *parse_var(), *parse_var2(), *parse_expr(); | ^~~~~~~~~~ proto.h:39:7: note: previous declaration of 'get_string' with type 'char *(char *, int)' 39 | char *get_string(char *string, int n); | ^~~~~~~~~~ proto.h:153:8: note: previous declaration of 'gcd_verified' with type 'double(double, double)' 153 | double gcd_verified(double d1, double d2); | ^~~~~~~~~~~~ proto.h:223:7: note: previous declaration of 'parse_expr' with type 'char *(token_type *, int *, char *, int)' 223 | char *parse_expr(token_type *equation, int *np, char *cp, int allow_space); | ^~~~~~~~~~ altproto.h:22:18: error: conflicting types for 'parse_equation'; have 'char *(void)' 22 | char *parse_equation(), *parse_section(), *parse_var(), *parse_var2(), *parse_expr(); | ^~~~~~~~~~~~~~ altproto.h:23:18: error: conflicting types for 'list_expression'; have 'char *(void)' 23 | char *list_expression(), *list_equation(), *flist_equation_string(); | ^~~~~~~~~~~~~~~ proto.h:222:7: note: previous declaration of 'parse_equation' with type 'char *(int, char *)' 222 | char *parse_equation(int n, char *cp); | ^~~~~~~~~~~~~~ proto.h:192:7: note: previous declaration of 'list_expression' with type 'char *(token_type *, int, int)' 192 | char *list_expression(token_type *p1, int n, int export_flag); | ^~~~~~~~~~~~~~~ altproto.h:22:37: error: conflicting types for 'parse_section'; have 'char *(void)' 22 | char *parse_equation(), *parse_section(), *parse_var(), *parse_var2(), *parse_expr(); | ^~~~~~~~~~~~~ proto.h:221:7: note: previous declaration of 'parse_section' with type 'char *(token_type *, int *, char *, int)' 221 | char *parse_section(token_type *equation, int *np, char *cp, int allow_space); | ^~~~~~~~~~~~~ altproto.h:24:40: error: conflicting types for 'my_round'; have 'double(void)' 24 | double gcd(), gcd_verified(), my_round(), multiply_out_unique(); | ^~~~~~~~ altproto.h:23:38: error: conflicting types for 'list_equation'; have 'char *(void)' 23 | char *list_expression(), *list_equation(), *flist_equation_string(); | ^~~~~~~~~~~~~ proto.h:191:7: note: previous declaration of 'list_equation' with type 'char *(int, int)' 191 | char *list_equation(int n, int export_flag); | ^~~~~~~~~~~~~ altproto.h:22:55: error: conflicting types for 'parse_var'; have 'char *(void)' 22 | char *parse_equation(), *parse_section(), *parse_var(), *parse_var2(), *parse_expr(); | ^~~~~~~~~ proto.h:154:8: note: previous declaration of 'my_round' with type 'double(double)' 154 | double my_round(double d1); | ^~~~~~~~ proto.h:224:7: note: previous declaration of 'parse_var' with type 'char *(long int *, char *)' 224 | char *parse_var(long *vp, char *cp); | ^~~~~~~~~ altproto.h:23:56: error: conflicting types for 'flist_equation_string'; have 'char *(void)' 23 | char *list_expression(), *list_equation(), *flist_equation_string(); | ^~~~~~~~~~~~~~~~~~~~~ altproto.h:22:69: error: conflicting types for 'parse_var2'; have 'char *(void)' 22 | char *parse_equation(), *parse_section(), *parse_var(), *parse_var2(), *parse_expr(); | ^~~~~~~~~~ altproto.h:25:17: error: conflicting types for 'decstrtol'; have 'long int(void)' 25 | long decstrtol(), max_memory_usage(); | ^~~~~~~~~ proto.h:199:7: note: previous declaration of 'flist_equation_string' with type 'char *(int)' 199 | char *flist_equation_string(int n); | ^~~~~~~~~~~~~~~~~~~~~ proto.h:167:7: note: previous declaration of 'parse_var2' with type 'char *(long int *, char *)' 167 | char *parse_var2(long *vp, char *cp); | ^~~~~~~~~~ altproto.h:24:17: error: conflicting types for 'gcd'; have 'double(void)' 24 | double gcd(), gcd_verified(), my_round(), multiply_out_unique(); | ^~~ proto.h:49:6: note: previous declaration of 'decstrtol' with type 'long int(char *, char **)' 49 | long decstrtol(char *cp, char **cpp); | ^~~~~~~~~ proto.h:152:8: note: previous declaration of 'gcd' with type 'double(double, double)' 152 | double gcd(double d1, double d2); | ^~~ altproto.h:22:84: error: conflicting types for 'parse_expr'; have 'char *(void)' 22 | char *parse_equation(), *parse_section(), *parse_var(), *parse_var2(), *parse_expr(); | ^~~~~~~~~~ altproto.h:24:24: error: conflicting types for 'gcd_verified'; have 'double(void)' 24 | double gcd(), gcd_verified(), my_round(), multiply_out_unique(); | ^~~~~~~~~~~~ proto.h:223:7: note: previous declaration of 'parse_expr' with type 'char *(token_type *, int *, char *, int)' 223 | char *parse_expr(token_type *equation, int *np, char *cp, int allow_space); | ^~~~~~~~~~ proto.h:153:8: note: previous declaration of 'gcd_verified' with type 'double(double, double)' 153 | double gcd_verified(double d1, double d2); | ^~~~~~~~~~~~ altproto.h:23:18: error: conflicting types for 'list_expression'; have 'char *(void)' 23 | char *list_expression(), *list_equation(), *flist_equation_string(); | ^~~~~~~~~~~~~~~ altproto.h:24:40: error: conflicting types for 'my_round'; have 'double(void)' 24 | double gcd(), gcd_verified(), my_round(), multiply_out_unique(); | ^~~~~~~~ proto.h:154:8: note: previous declaration of 'my_round' with type 'double(double)' 154 | double my_round(double d1); | ^~~~~~~~ proto.h:192:7: note: previous declaration of 'list_expression' with type 'char *(token_type *, int, int)' 192 | char *list_expression(token_type *p1, int n, int export_flag); | ^~~~~~~~~~~~~~~ altproto.h:25:17: error: conflicting types for 'decstrtol'; have 'long int(void)' 25 | long decstrtol(), max_memory_usage(); | ^~~~~~~~~ proto.h:49:6: note: previous declaration of 'decstrtol' with type 'long int(char *, char **)' 49 | long decstrtol(char *cp, char **cpp); | ^~~~~~~~~ altproto.h:23:38: error: conflicting types for 'list_equation'; have 'char *(void)' 23 | char *list_expression(), *list_equation(), *flist_equation_string(); | ^~~~~~~~~~~~~ proto.h:191:7: note: previous declaration of 'list_equation' with type 'char *(int, int)' 191 | char *list_equation(int n, int export_flag); | ^~~~~~~~~~~~~ altproto.h:23:56: error: conflicting types for 'flist_equation_string'; have 'char *(void)' 23 | char *list_expression(), *list_equation(), *flist_equation_string(); | ^~~~~~~~~~~~~~~~~~~~~ proto.h:199:7: note: previous declaration of 'flist_equation_string' with type 'char *(int)' 199 | char *flist_equation_string(int n); | ^~~~~~~~~~~~~~~~~~~~~ altproto.h:24:17: error: conflicting types for 'gcd'; have 'double(void)' 24 | double gcd(), gcd_verified(), my_round(), multiply_out_unique(); | ^~~ proto.h:152:8: note: previous declaration of 'gcd' with type 'double(double, double)' 152 | double gcd(double d1, double d2); | ^~~ altproto.h:24:24: error: conflicting types for 'gcd_verified'; have 'double(void)' 24 | double gcd(), gcd_verified(), my_round(), multiply_out_unique(); | ^~~~~~~~~~~~ proto.h:153:8: note: previous declaration of 'gcd_verified' with type 'double(double, double)' 153 | double gcd_verified(double d1, double d2); | ^~~~~~~~~~~~ altproto.h:24:40: error: conflicting types for 'my_round'; have 'double(void)' 24 | double gcd(), gcd_verified(), my_round(), multiply_out_unique(); | ^~~~~~~~ proto.h:154:8: note: previous declaration of 'my_round' with type 'double(double)' 154 | double my_round(double d1); | ^~~~~~~~ altproto.h:25:17: error: conflicting types for 'decstrtol'; have 'long int(void)' 25 | long decstrtol(), max_memory_usage(); | ^~~~~~~~~ proto.h:49:6: note: previous declaration of 'decstrtol' with type 'long int(char *, char **)' 49 | long decstrtol(char *cp, char **cpp); | ^~~~~~~~~ solve.c: In function 'solve_espace': main.c: In function 'main_io_loop': main.c:397:27: error: too many arguments to function 'get_string'; expected 0, have 2 397 | if ((cp = get_string((char *) tlhs, n_tokens * sizeof(token_type))) == NULL) | ^~~~~~~~~~ ~~~~~~~~~~~~~ altproto.h:21:18: note: declared here 21 | char *get_string(); | ^~~~~~~~~~ solve.c:47:1: warning: old-style function definition [-Wold-style-definition] 47 | solve_espace(want, have) | ^~~~~~~~~~~~ main.c: In function 'fphandler': main.c:441:1: warning: old-style function definition [-Wold-style-definition] 441 | fphandler(sig) | ^~~~~~~~~ main.c: In function 'inthandler': main.c:455:1: warning: old-style function definition [-Wold-style-definition] 455 | inthandler(sig) | ^~~~~~~~~~ main.c: In function 'alarmhandler': main.c:479:1: warning: old-style function definition [-Wold-style-definition] 479 | alarmhandler(sig) | ^~~~~~~~~~~~ main.c: In function 'exithandler': main.c:490:1: warning: old-style function definition [-Wold-style-definition] 490 | exithandler(sig) | ^~~~~~~~~~~ main.c: In function 'resizehandler': main.c:501:1: warning: old-style function definition [-Wold-style-definition] 501 | resizehandler(sig) | ^~~~~~~~~~~~~ main.c: In function 'exit_program': main.c:513:1: warning: old-style function definition [-Wold-style-definition] 513 | exit_program(exit_value) | ^~~~~~~~~~~~ am.c: In function 'display_startup_message': am.c:37:1: warning: old-style function definition [-Wold-style-definition] 37 | display_startup_message(fp) | ^~~~~~~~~~~~~~~~~~~~~~~ solve.c: In function 'solve_sub': solve.c:112:1: warning: old-style function definition [-Wold-style-definition] 112 | solve_sub(wantp, wantn, leftp, leftnp, rightp, rightnp) | ^~~~~~~~~ am.c: In function 'error': am.c:69:1: warning: old-style function definition [-Wold-style-definition] 69 | error(str) | ^~~~~ am.c: In function 'warning': am.c:98:1: warning: old-style function definition [-Wold-style-definition] 98 | warning(str) | ^~~~~~~ help.c: In function 'parse': help.c:212:1: warning: old-style function definition [-Wold-style-definition] 212 | parse(n, cp) | ^~~~~ am.c: In function 'error_bug': am.c:134:1: warning: old-style function definition [-Wold-style-definition] 134 | error_bug(str) | ^~~~~~~~~ help.c:216:13: error: too many arguments to function 'parse_equation'; expected 0, have 2 216 | if (parse_equation(n, cp)) { | ^~~~~~~~~~~~~~ ~ altproto.h:22:18: note: declared here 22 | char *parse_equation(), *parse_section(), *parse_var(), *parse_var2(), *parse_expr(); | ^~~~~~~~~~~~~~ help.c: In function 'process_parse': help.c:243:1: warning: old-style function definition [-Wold-style-definition] 243 | process_parse(n, cp) | ^~~~~~~~~~~~~ help.c:298:29: error: too many arguments to function 'parse_equation'; expected 0, have 2 298 | if (parse_equation(n, cp1 + 1) == NULL) { | ^~~~~~~~~~~~~~ ~ altproto.h:22:18: note: declared here 22 | char *parse_equation(), *parse_section(), *parse_var(), *parse_var2(), *parse_expr(); | ^~~~~~~~~~~~~~ am.c: In function 'next_sign': am.c:428:1: warning: old-style function definition [-Wold-style-definition] 428 | next_sign(vp) | ^~~~~~~~~ help.c:345:19: error: too many arguments to function 'parse_equation'; expected 0, have 2 345 | if ((ep = parse_equation(n, cp))) { | ^~~~~~~~~~~~~~ ~ altproto.h:22:18: note: declared here 22 | char *parse_equation(), *parse_section(), *parse_var(), *parse_var2(), *parse_expr(); | ^~~~~~~~~~~~~~ am.c: In function 'alloc_espace': am.c:477:1: warning: old-style function definition [-Wold-style-definition] 477 | alloc_espace(i) | ^~~~~~~~~~~~ am.c: In function 'alloc_to_espace': am.c:507:1: warning: old-style function definition [-Wold-style-definition] 507 | alloc_to_espace(en) | ^~~~~~~~~~~~~~~ am.c: In function 'next_espace': am.c:574:17: error: too many arguments to function 'parse_var'; expected 0, have 2 574 | parse_var(&answer_v, "answer"); /* convert to a Mathomatic variable */ | ^~~~~~~~~ ~~~~~~~~~ altproto.h:22:55: note: declared here 22 | char *parse_equation(), *parse_section(), *parse_var(), *parse_var2(), *parse_expr(); | ^~~~~~~~~ am.c: In function 'copy_espace': am.c:600:1: warning: old-style function definition [-Wold-style-definition] 600 | copy_espace(src, dest) | ^~~~~~~~~~~ am.c: In function 'solved_equation': am.c:619:1: warning: old-style function definition [-Wold-style-definition] 619 | solved_equation(i) | ^~~~~~~~~~~~~~~ gmake: *** [: globals.o] Error 1 gmake: *** Waiting for unfinished jobs.... help.c:421:41: error: too many arguments to function 'parse_var'; expected 0, have 2 421 | parse_var(&answer_v, "answer"); /* convert to a Mathomatic variable */ | ^~~~~~~~~ ~~~~~~~~~ altproto.h:22:55: note: declared here 22 | char *parse_equation(), *parse_section(), *parse_var(), *parse_var2(), *parse_expr(); | ^~~~~~~~~ help.c:433:46: error: too many arguments to function 'calculate_cmd'; expected 0, have 1 433 | rv = calculate_cmd(""); /* display the approximation */ | ^~~~~~~~~~~~~ ~~ altproto.h:10:44: note: declared here 10 | int read_cmd(), display_cmd(), calculate_cmd(), solve_cmd(); | ^~~~~~~~~~~~~ am.c: In function 'found_var': am.c:637:1: warning: old-style function definition [-Wold-style-definition] 637 | found_var(p1, n, v) | ^~~~~~~~~ am.c: In function 'var_in_equation': am.c:659:1: warning: old-style function definition [-Wold-style-definition] 659 | var_in_equation(i, v) | ^~~~~~~~~~~~~~~ am.c: In function 'search_all_for_var': am.c:682:1: warning: old-style function definition [-Wold-style-definition] 682 | search_all_for_var(v, forward_direction) | ^~~~~~~~~~~~~~~~~~ am.c: In function 'rename_var_in_es': am.c:713:1: warning: old-style function definition [-Wold-style-definition] 713 | rename_var_in_es(en, from_v, to_v) | ^~~~~~~~~~~~~~~~ help.c: In function 'process': help.c:476:1: warning: old-style function definition [-Wold-style-definition] 476 | process(cp) | ^~~~~~~ solve.c: In function 'increase': help.c: In function 'process_rv': help.c:499:1: warning: old-style function definition [-Wold-style-definition] 499 | process_rv(cp) | ^~~~~~~~~~ solve.c:655:1: warning: old-style function definition [-Wold-style-definition] 655 | increase(d, v) | ^~~~~~~~ am.c: In function 'subst_var_with_exp': am.c:742:1: warning: old-style function definition [-Wold-style-definition] 742 | subst_var_with_exp(equation, np, expression, len, v) | ^~~~~~~~~~~~~~~~~~ help.c:524:14: error: too many arguments to function 'skip_space'; expected 0, have 1 524 | cp = skip_space(cp); | ^~~~~~~~~~ ~~ altproto.h:20:18: note: declared here 20 | char *skip_space(), *skip_comma_space(), *skip_param(); | ^~~~~~~~~~ help.c:529:28: error: too many arguments to function 'parse_var'; expected 0, have 2 529 | if ((cp1 = parse_var(&v, cp)) == NULL) { | ^~~~~~~~~ ~~ altproto.h:22:55: note: declared here 22 | char *parse_equation(), *parse_section(), *parse_var(), *parse_var2(), *parse_expr(); | ^~~~~~~~~ help.c:547:36: error: too many arguments to function 'parse_var'; expected 0, have 2 547 | if ((cp1 = parse_var(&v, cp)) == NULL) { | ^~~~~~~~~ ~~ altproto.h:22:55: note: declared here 22 | char *parse_equation(), *parse_section(), *parse_var(), *parse_var2(), *parse_expr(); | ^~~~~~~~~ am.c: In function 'min_level': am.c:783:1: warning: old-style function definition [-Wold-style-definition] 783 | min_level(expression, n) | ^~~~~~~~~ am.c: In function 'get_default_en': am.c:821:1: warning: old-style function definition [-Wold-style-definition] 821 | get_default_en(cp) | ^~~~~~~~~~~~~~ am.c:829:21: error: too many arguments to function 'decstrtol'; expected 0, have 2 829 | i = decstrtol(cp, &cp) - 1; | ^~~~~~~~~ ~~ altproto.h:25:17: note: declared here 25 | long decstrtol(), max_memory_usage(); | ^~~~~~~~~ help.c:585:30: error: too many arguments to function 'skip_space'; expected 0, have 1 585 | cp = skip_space(cp); | ^~~~~~~~~~ ~~ altproto.h:20:18: note: declared here 20 | char *skip_space(), *skip_comma_space(), *skip_param(); | ^~~~~~~~~~ am.c: In function 'get_expr': am.c:846:1: warning: old-style function definition [-Wold-style-definition] 846 | get_expr(equation, np) | ^~~~~~~~ solve.c: In function 'poly_solve': help.c:604:22: error: too many arguments to function 'skip_space'; expected 0, have 1 604 | cp = skip_space(cp + 1); | ^~~~~~~~~~ ~~~~~~ solve.c:792:1: warning: old-style function definition [-Wold-style-definition] 792 | poly_solve(v) | ^~~~~~~~~~ am.c:862:27: error: too many arguments to function 'get_string'; expected 0, have 2 862 | if ((cp = get_string(buf, sizeof(buf))) == NULL) { | ^~~~~~~~~~ ~~~ altproto.h:20:18: note: declared here 20 | char *skip_space(), *skip_comma_space(), *skip_param(); | ^~~~~~~~~~ altproto.h:21:18: note: declared here 21 | char *get_string(); | ^~~~~~~~~~ am.c:865:22: error: too many arguments to function 'parse_expr'; expected 0, have 4 865 | cp = parse_expr(equation, np, cp, true); | ^~~~~~~~~~ ~~~~~~~~ altproto.h:22:84: note: declared here 22 | char *parse_equation(), *parse_section(), *parse_var(), *parse_var2(), *parse_expr(); | ^~~~~~~~~~ am.c: In function 'prompt_var': am.c:880:1: warning: old-style function definition [-Wold-style-definition] 880 | prompt_var(vp) | ^~~~~~~~~~ help.c:631:22: error: too many arguments to function 'skip_space'; expected 0, have 1 631 | cp = skip_space(cp + 1); | ^~~~~~~~~~ ~~~~~~ altproto.h:20:18: note: declared here 20 | char *skip_space(), *skip_comma_space(), *skip_param(); | ^~~~~~~~~~ help.c:633:24: error: too many arguments to function 'help_cmd'; expected 0, have 1 633 | return(help_cmd(cp)); | ^~~~~~~~ ~~ altproto.h:8:70: note: declared here 8 | int clear_cmd(), quit_cmd(), list_cmd(), simplify_cmd(), help_cmd(), eliminate_cmd(); | ^~~~~~~~ am.c:888:27: error: too many arguments to function 'get_string'; expected 0, have 2 888 | if ((cp = get_string(buf, sizeof(buf))) == NULL) { | ^~~~~~~~~~ ~~~ altproto.h:21:18: note: declared here 21 | char *get_string(); | ^~~~~~~~~~ am.c:894:22: error: too many arguments to function 'parse_var2'; expected 0, have 2 894 | cp = parse_var2(vp, cp); | ^~~~~~~~~~ ~~ altproto.h:22:69: note: declared here 22 | char *parse_equation(), *parse_section(), *parse_var(), *parse_var2(), *parse_expr(); | ^~~~~~~~~~ am.c: In function 'not_defined': am.c:906:1: warning: old-style function definition [-Wold-style-definition] 906 | not_defined(i) | ^~~~~~~~~~~ help.c:649:22: error: too many arguments to function 'skip_space'; expected 0, have 1 649 | cp = skip_space(cp1); | ^~~~~~~~~~ ~~~ altproto.h:20:18: note: declared here 20 | char *skip_space(), *skip_comma_space(), *skip_param(); | ^~~~~~~~~~ am.c: At top level: am.c:954:1: error: conflicting types for 'get_string'; have 'char *(void)' 954 | get_string(string, n) | ^~~~~~~~~~ proto.h:39:7: note: previous declaration of 'get_string' with type 'char *(char *, int)' 39 | char *get_string(char *string, int n); | ^~~~~~~~~~ am.c: In function 'get_string': am.c:954:1: warning: old-style function definition [-Wold-style-definition] 954 | get_string(string, n) | ^~~~~~~~~~ help.c:655:31: error: too many arguments to function 'skip_space'; expected 0, have 1 655 | cp1 = skip_space(cp1); | ^~~~~~~~~~ ~~~ altproto.h:20:18: note: declared here 20 | char *skip_space(), *skip_comma_space(), *skip_param(); | ^~~~~~~~~~ help.c:670:64: error: too many arguments to function 'skip_space'; expected 0, have 1 670 | gfp_filename = skip_space(&buf2[i1+1]); | ^~~~~~~~~~ ~~~~~~~~~~~ altproto.h:20:18: note: declared here 20 | char *skip_space(), *skip_comma_space(), *skip_param(); | ^~~~~~~~~~ am.c: In function 'get_yes_no': help.c:703:31: error: too many arguments to function 'com_list[i].func'; expected 0, have 1 703 | rv = (*com_list[i].func)(buf2); | ~^~~~~~~~~~~~~~~~~~ ~~~~ am.c:1047:27: error: too many arguments to function 'get_string'; expected 0, have 2 1047 | if ((cp = get_string(buf, sizeof(buf))) == NULL) { | ^~~~~~~~~~ ~~~ help.c:39:19: note: declared here 39 | int (*func)(); /* function that handles this command */ | ^~~~ am.c:954:1: note: declared here 954 | get_string(string, n) | ^~~~~~~~~~ help.c: In function 'display_process': am.c: In function 'return_result': help.c:745:1: warning: old-style function definition [-Wold-style-definition] 745 | display_process(cp) | ^~~~~~~~~~~~~~~ am.c:1068:1: warning: old-style function definition [-Wold-style-definition] 1068 | return_result(en) | ^~~~~~~~~~~~~ am.c: In function 'is_all': am.c:1117:1: warning: old-style function definition [-Wold-style-definition] 1117 | is_all(cp) | ^~~~~~ am.c: In function 'get_range': am.c:1134:1: warning: old-style function definition [-Wold-style-definition] 1134 | get_range(cpp, ip, jp) | ^~~~~~~~~ am.c:1142:14: error: too many arguments to function 'skip_comma_space'; expected 0, have 1 1142 | cp = skip_comma_space(*cpp); | ^~~~~~~~~~~~~~~~ ~~~~ altproto.h:20:33: note: declared here 20 | char *skip_space(), *skip_comma_space(), *skip_param(); | ^~~~~~~~~~~~~~~~ help.c: In function 'shell_out': am.c:1144:22: error: too many arguments to function 'skip_param'; expected 0, have 1 1144 | cp = skip_param(cp); | ^~~~~~~~~~ ~~ help.c:802:1: warning: old-style function definition [-Wold-style-definition] 802 | shell_out(cp) | ^~~~~~~~~ altproto.h:20:54: note: declared here 20 | char *skip_space(), *skip_comma_space(), *skip_param(); | ^~~~~~~~~~ help.c: At top level: help.c:839:1: error: conflicting types for 'parse_var2'; have 'char *(void)' 839 | parse_var2(vp, cp) | ^~~~~~~~~~ proto.h:167:7: note: previous declaration of 'parse_var2' with type 'char *(long int *, char *)' 167 | char *parse_var2(long *vp, char *cp); | ^~~~~~~~~~ help.c: In function 'parse_var2': help.c:839:1: warning: old-style function definition [-Wold-style-definition] 839 | parse_var2(vp, cp) | ^~~~~~~~~~ help.c:843:14: error: too many arguments to function 'skip_comma_space'; expected 0, have 1 843 | cp = skip_comma_space(cp); | ^~~~~~~~~~~~~~~~ ~~ altproto.h:20:33: note: declared here 20 | char *skip_space(), *skip_comma_space(), *skip_param(); | ^~~~~~~~~~~~~~~~ help.c:844:14: error: too many arguments to function 'parse_var'; expected 0, have 2 844 | cp = parse_var(vp, cp); | ^~~~~~~~~ ~~ altproto.h:22:55: note: declared here 22 | char *parse_equation(), *parse_section(), *parse_var(), *parse_var2(), *parse_expr(); | ^~~~~~~~~ am.c:1164:40: error: too many arguments to function 'skip_comma_space'; expected 0, have 1 1164 | *cpp = skip_comma_space(cp); | ^~~~~~~~~~~~~~~~ ~~ altproto.h:20:33: note: declared here 20 | char *skip_space(), *skip_comma_space(), *skip_param(); | ^~~~~~~~~~~~~~~~ help.c:848:16: error: too many arguments to function 'skip_comma_space'; expected 0, have 1 848 | return skip_comma_space(cp); | ^~~~~~~~~~~~~~~~ ~~ altproto.h:20:33: note: declared here 20 | char *skip_space(), *skip_comma_space(), *skip_param(); | ^~~~~~~~~~~~~~~~ help.c: In function 'display_usage': help.c:859:1: warning: old-style function definition [-Wold-style-definition] 859 | display_usage(pstr, i) | ^~~~~~~~~~~~~ help.c: In function 'display_command': help.c:883:1: warning: old-style function definition [-Wold-style-definition] 883 | display_command(i) | ^~~~~~~~~~~~~~~ am.c:1207:14: error: too many arguments to function 'skip_comma_space'; expected 0, have 1 1207 | cp = skip_comma_space(cp); | ^~~~~~~~~~~~~~~~ ~~ altproto.h:20:33: note: declared here 20 | char *skip_space(), *skip_comma_space(), *skip_param(); | ^~~~~~~~~~~~~~~~ help.c: In function 'read_examples': help.c:926:1: warning: old-style function definition [-Wold-style-definition] 926 | read_examples(cpp) | ^~~~~~~~~~~~~ am.c: In function 'extra_characters': am.c:1226:1: warning: old-style function definition [-Wold-style-definition] 1226 | extra_characters(cp) | ^~~~~~~~~~~~~~~~ am.c:1230:22: error: too many arguments to function 'skip_comma_space'; expected 0, have 1 1230 | cp = skip_comma_space(cp); | ^~~~~~~~~~~~~~~~ ~~ altproto.h:20:33: note: declared here 20 | char *skip_space(), *skip_comma_space(), *skip_param(); | ^~~~~~~~~~~~~~~~ help.c: In function 'underline_title': help.c:949:1: warning: old-style function definition [-Wold-style-definition] 949 | underline_title(count) | ^~~~~~~~~~~~~~~ am.c: In function 'get_range_eol': am.c:1245:1: warning: old-style function definition [-Wold-style-definition] 1245 | get_range_eol(cpp, ip, jp) | ^~~~~~~~~~~~~ help.c: At top level: help.c:966:1: error: conflicting types for 'help_cmd'; have 'int(void)' 966 | help_cmd(cp) | ^~~~~~~~ am.c: At top level: proto.h:173:5: note: previous declaration of 'help_cmd' with type 'int(char *)' 173 | int help_cmd(char *cp); | ^~~~~~~~ am.c:1262:1: error: conflicting types for 'skip_space'; have 'char *(void)' 1262 | skip_space(cp) | ^~~~~~~~~~ help.c: In function 'help_cmd': help.c:966:1: warning: old-style function definition [-Wold-style-definition] 966 | help_cmd(cp) | ^~~~~~~~ proto.h:47:7: note: previous declaration of 'skip_space' with type 'char *(char *)' 47 | char *skip_space(char *cp); | ^~~~~~~~~~ am.c: In function 'skip_space': am.c:1262:1: warning: old-style function definition [-Wold-style-definition] 1262 | skip_space(cp) | ^~~~~~~~~~ am.c: At top level: am.c:1276:1: error: conflicting types for 'skip_comma_space'; have 'char *(void)' 1276 | skip_comma_space(cp) | ^~~~~~~~~~~~~~~~ proto.h:48:7: note: previous declaration of 'skip_comma_space' with type 'char *(char *)' 48 | char *skip_comma_space(char *cp); | ^~~~~~~~~~~~~~~~ am.c: In function 'skip_comma_space': am.c:1276:1: warning: old-style function definition [-Wold-style-definition] 1276 | skip_comma_space(cp) | ^~~~~~~~~~~~~~~~ solve.c: In function 'g_of_f': am.c:1280:22: error: too many arguments to function 'skip_space'; expected 0, have 1 1280 | cp = skip_space(cp); | ^~~~~~~~~~ ~~ solve.c:1132:1: warning: old-style function definition [-Wold-style-definition] 1132 | g_of_f(op, operandp, side1p, side1np, side2p, side2np) | ^~~~~~ am.c:1262:1: note: declared here 1262 | skip_space(cp) | ^~~~~~~~~~ am.c:1282:30: error: too many arguments to function 'skip_space'; expected 0, have 1 1282 | cp = skip_space(cp + 1); | ^~~~~~~~~~ ~~~~~~ am.c:1262:1: note: declared here 1262 | skip_space(cp) | ^~~~~~~~~~ am.c: At top level: am.c:1292:1: error: conflicting types for 'decstrtol'; have 'long int(void)' 1292 | decstrtol(cp, cpp) | ^~~~~~~~~ proto.h:49:6: note: previous declaration of 'decstrtol' with type 'long int(char *, char **)' 49 | long decstrtol(char *cp, char **cpp); | ^~~~~~~~~ am.c: In function 'decstrtol': am.c:1292:1: warning: old-style function definition [-Wold-style-definition] 1292 | decstrtol(cp, cpp) | ^~~~~~~~~ am.c:1299:24: error: too many arguments to function 'skip_comma_space'; expected 0, have 1 1299 | *cpp = skip_comma_space(*cpp); | ^~~~~~~~~~~~~~~~ ~~~~ am.c:1276:1: note: declared here 1276 | skip_comma_space(cp) | ^~~~~~~~~~~~~~~~ am.c: In function 'isdelimiter': am.c:1308:1: warning: old-style function definition [-Wold-style-definition] 1308 | isdelimiter(ch) | ^~~~~~~~~~~ am.c: At top level: am.c:1321:1: error: conflicting types for 'skip_param'; have 'char *(void)' 1321 | skip_param(cp) | ^~~~~~~~~~ proto.h:51:7: note: previous declaration of 'skip_param' with type 'char *(char *)' 51 | char *skip_param(char *cp); | ^~~~~~~~~~ am.c: In function 'skip_param': am.c:1321:1: warning: old-style function definition [-Wold-style-definition] 1321 | skip_param(cp) | ^~~~~~~~~~ am.c:1328:22: error: too many arguments to function 'skip_space'; expected 0, have 1 1328 | cp = skip_space(cp); | ^~~~~~~~~~ ~~ am.c:1262:1: note: declared here 1262 | skip_space(cp) | ^~~~~~~~~~ am.c:1330:30: error: too many arguments to function 'skip_space'; expected 0, have 1 1330 | cp = skip_space(cp + 1); | ^~~~~~~~~~ ~~~~~~ am.c:1262:1: note: declared here 1262 | skip_space(cp) | ^~~~~~~~~~ am.c: In function 'strcmp_tospace': am.c:1343:1: warning: old-style function definition [-Wold-style-definition] 1343 | strcmp_tospace(cp1, cp2) | ^~~~~~~~~~~~~~ help.c:1045:30: error: too many arguments to function 'skip_comma_space'; expected 0, have 1 1045 | cp = skip_comma_space(cp1); | ^~~~~~~~~~~~~~~~ ~~~ altproto.h:20:33: note: declared here 20 | char *skip_space(), *skip_comma_space(), *skip_param(); | ^~~~~~~~~~~~~~~~ am.c: In function 'level_plus_count': am.c:1363:1: warning: old-style function definition [-Wold-style-definition] 1363 | level_plus_count(p1, n1, level) | ^~~~~~~~~~~~~~~~ am.c: In function 'level1_plus_count': am.c:1387:1: warning: old-style function definition [-Wold-style-definition] 1387 | level1_plus_count(p1, n1) | ^~~~~~~~~~~~~~~~~ am.c: In function 'var_count': am.c:1398:1: warning: old-style function definition [-Wold-style-definition] 1398 | var_count(p1, n1) | ^~~~~~~~~ am.c: In function 'no_vars': am.c:1419:1: warning: old-style function definition [-Wold-style-definition] 1419 | no_vars(source, n, vp) | ^~~~~~~ solve.c:1298:21: error: too many arguments to function 'parse_var'; expected 0, have 2 1298 | if (parse_var(&p2->token.variable, var_name_buf) == NULL) | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ altproto.h:22:55: note: declared here 22 | char *parse_equation(), *parse_section(), *parse_var(), *parse_var2(), *parse_expr(); | ^~~~~~~~~ am.c: In function 'exp_contains_infinity': am.c:1452:1: warning: old-style function definition [-Wold-style-definition] 1452 | exp_contains_infinity(p1, n1) | ^~~~~~~~~~~~~~~~~~~~~ am.c: In function 'exp_contains_nan': am.c:1470:1: warning: old-style function definition [-Wold-style-definition] 1470 | exp_contains_nan(p1, n1) | ^~~~~~~~~~~~~~~~ am.c: In function 'exp_is_numeric': am.c:1489:1: warning: old-style function definition [-Wold-style-definition] 1489 | exp_is_numeric(p1, n1) | ^~~~~~~~~~~~~~ am.c: In function 'exp_is_absolute': am.c:1508:1: warning: old-style function definition [-Wold-style-definition] 1508 | exp_is_absolute(p1, n1) | ^~~~~~~~~~~~~~~ help.c:1143:54: error: too many arguments to function 'pause_cmd'; expected 0, have 1 1143 | if (!pause_cmd("")) | ^~~~~~~~~ ~~ altproto.h:13:43: note: declared here 13 | int copy_cmd(), divide_cmd(), pause_cmd(), version_cmd(); | ^~~~~~~~~ solve.c: In function 'flip': solve.c:1391:1: warning: old-style function definition [-Wold-style-definition] 1391 | flip(side1p, side1np, side2p, side2np) | ^~~~ am.c: In function 'check_divide_by_zero': am.c:1535:1: warning: old-style function definition [-Wold-style-definition] 1535 | check_divide_by_zero(denominator) | ^~~~~~~~~~~~~~~~~~~~ am.c: In function 'load_rc': am.c:1576:1: warning: old-style function definition [-Wold-style-definition] 1576 | load_rc(return_true_if_no_file, ofp) | ^~~~~~~ help.c:1223:30: error: too many arguments to function 'skip_comma_space'; expected 0, have 1 1223 | cp = skip_comma_space(cp1); | ^~~~~~~~~~~~~~~~ ~~~ altproto.h:20:33: note: declared here 20 | char *skip_space(), *skip_comma_space(), *skip_param(); | ^~~~~~~~~~~~~~~~ help.c:1286:54: error: too many arguments to function 'pause_cmd'; expected 0, have 1 1286 | if (!pause_cmd("")) | ^~~~~~~~~ ~~ altproto.h:13:43: note: declared here 13 | int copy_cmd(), divide_cmd(), pause_cmd(), version_cmd(); | ^~~~~~~~~ help.c:1302:14: error: too many arguments to function 'skip_comma_space'; expected 0, have 1 1302 | cp = skip_comma_space(cp1); | ^~~~~~~~~~~~~~~~ ~~~ altproto.h:20:33: note: declared here 20 | char *skip_space(), *skip_comma_space(), *skip_param(); | ^~~~~~~~~~~~~~~~ gmake: *** [: main.o] Error 1 gmake: *** [: help.o] Error 1 gmake: *** [: am.o] Error 1 gmake: *** [: solve.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/math/mathomatic *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/math/mathomatic