gcc -Wall -pedantic -c gui.c -g -I/usr/include
gui.c: In function `getchoice':
gui.c:230: warning: pointer targets in passing arg 4 of `find' differ in signedness
gui.c: At top level:
gui.c:782: parse error before `}'
gui.c:784: warning: type defaults to `int' in declaration of `tmp'
gui.c:784: ANSI C forbids data definition with no type or storage class
gui.c:785: parse error before `}'
gui.c:790: parse error before string constant
gui.c:790: warning: type defaults to `int' in declaration of `input_dlg'
gui.c:790: conflicting types for `input_dlg'
gui.c:618: previous declaration of `input_dlg'
gui.c:790: ANSI C forbids data definition with no type or storage class
gui.c:793: parse error before `1'
gui.c:793: warning: type defaults to `int' in declaration of `sleep'
gui.c:793: conflicting types for `sleep'
/usr/include/unistd.h:367: previous declaration of `sleep'
gui.c:793: ANSI C forbids data definition with no type or storage class
gui.c:794: warning: type defaults to `int' in declaration of `tmp'
gui.c:794: redefinition of `tmp'
gui.c:784: `tmp' previously defined here
gui.c:794: ANSI C forbids data definition with no type or storage class
gui.c:795: parse error before `}'
gui.c:806: warning: type defaults to `int' in declaration of `sub'
gui.c:806: invalid type argument of `->'
gui.c:806: ANSI C forbids data definition with no type or storage class
gui.c:807: parse error before `}'
gui.c:809: parse error before `1'
gui.c:809: warning: type defaults to `int' in declaration of `move_down'
gui.c:809: conflicting types for `move_down'
gui.c:446: previous declaration of `move_down'
gui.c:809: ANSI C forbids data definition with no type or storage class
gui.c:810: warning: type defaults to `int' in declaration of `tmp'
gui.c:810: redefinition of `tmp'
gui.c:794: `tmp' previously defined here
gui.c:810: ANSI C forbids data definition with no type or storage class
gui.c:811: parse error before `}'
gui.c:818: warning: type defaults to `int' in declaration of `sub'
gui.c:818: redefinition of `sub'
gui.c:806: `sub' previously defined here
gui.c:818: invalid type argument of `->'
gui.c:818: ANSI C forbids data definition with no type or storage class
gui.c:819: parse error before `}'
gui.c:821: warning: type defaults to `int' in declaration of `tmp'
gui.c:821: redefinition of `tmp'
gui.c:810: `tmp' previously defined here
gui.c:821: ANSI C forbids data definition with no type or storage class
gui.c:822: parse error before `}'
gui.c:829: warning: type defaults to `int' in declaration of `sub'
gui.c:829: redefinition of `sub'
gui.c:818: `sub' previously defined here
gui.c:829: invalid type argument of `->'
gui.c:829: ANSI C forbids data definition with no type or storage class
gui.c:830: parse error before `}'
gui.c:832: warning: type defaults to `int' in declaration of `tmp'
gui.c:832: redefinition of `tmp'
gui.c:821: `tmp' previously defined here
gui.c:832: ANSI C forbids data definition with no type or storage class
gui.c:833: parse error before `}'
gui.c:837: warning: type defaults to `int' in declaration of `sub'
gui.c:837: redefinition of `sub'
gui.c:829: `sub' previously defined here
gui.c:837: `chow' undeclared here (not in a function)
gui.c:837: ANSI C forbids data definition with no type or storage class
gui.c:838: parse error before `while'
gui.c:840: warning: type defaults to `int' in declaration of `tmp'
gui.c:840: redefinition of `tmp'
gui.c:832: `tmp' previously defined here
gui.c:840: invalid type argument of `->'
gui.c:840: `pos' undeclared here (not in a function)
gui.c:840: ANSI C forbids data definition with no type or storage class
gui.c:841: parse error before `->'
gui.c:842: warning: type defaults to `int' in declaration of `sub'
gui.c:842: redefinition of `sub'
gui.c:837: `sub' previously defined here
gui.c:842: invalid type argument of `->'
gui.c:842: ANSI C forbids data definition with no type or storage class
gui.c:843: parse error before `}'
gui.c:845: warning: type defaults to `int' in declaration of `tmp'
gui.c:845: redefinition of `tmp'
gui.c:840: `tmp' previously defined here
gui.c:845: ANSI C forbids data definition with no type or storage class
gui.c:846: parse error before `}'
gui.c:868: warning: type defaults to `int' in declaration of `selected_row'
gui.c:868: ANSI C forbids data definition with no type or storage class
gui.c:869: warning: type defaults to `int' in declaration of `tmp'
gui.c:869: redefinition of `tmp'
gui.c:845: `tmp' previously defined here
gui.c:869: ANSI C forbids data definition with no type or storage class
gui.c:870: parse error before `}'
gui.c:878: warning: type defaults to `int' in declaration of `key'
gui.c:878: ANSI C forbids data definition with no type or storage class
gui.c:879: warning: type defaults to `int' in declaration of `clear_all_screen'
gui.c:879: conflicting types for `clear_all_screen'
gui.c:424: previous declaration of `clear_all_screen'
gui.c:879: ANSI C forbids data definition with no type or storage class
gui.c:880: warning: type defaults to `int' in declaration of `draw_top'
gui.c:880: warning: parameter names (without types) in function declaration
gui.c:880: conflicting types for `draw_top'
gui.c:482: previous declaration of `draw_top'
gui.c:880: ANSI C forbids data definition with no type or storage class
gui.c:881: parse error before `->'
gui.c:882: parse error before `0'
gui.c:882: warning: type defaults to `int' in declaration of `mvprintw'
gui.c:882: conflicting types for `mvprintw'
gui.c:882: A parameter list with an ellipsis can't match an empty parameter name list declaration.
/usr/include/curses.h:571: previous declaration of `mvprintw'
gui.c:882: ANSI C forbids data definition with no type or storage class
gui.c:883: warning: type defaults to `int' in declaration of `wrefresh'
gui.c:883: warning: parameter names (without types) in function declaration
gui.c:883: ANSI C forbids data definition with no type or storage class
gui.c:884: parse error before `return'
gui.c:890: redefinition of `draw_menu'
gui.c:339: `draw_menu' previously defined here
gui.c:975: conflicting types for `clear_all_screen'
gui.c:879: previous declaration of `clear_all_screen'
gui.c:982: redefinition of `move_up'
gui.c:431: `move_up' previously defined here
gui.c:997: conflicting types for `move_down'
gui.c:809: previous declaration of `move_down'
gui.c:1013: redefinition of `row_clear'
gui.c:462: `row_clear' previously defined here
gui.c:1033: conflicting types for `draw_top'
gui.c:880: previous declaration of `draw_top'
gui.c:1155: redefinition of `help_screen'
gui.c:604: `help_screen' previously defined here
gui.c:1169: conflicting types for `input_dlg'
gui.c:790: previous declaration of `input_dlg'
gui.c:1313: redefinition of `murder'
gui.c:762: `murder' previously defined here
gui.c:1333: parse error before `}'
gui.c:1335: warning: type defaults to `int' in declaration of `tmp'
gui.c:1335: redefinition of `tmp'
gui.c:869: `tmp' previously defined here
gui.c:1335: ANSI C forbids data definition with no type or storage class
gui.c:1336: parse error before `}'
gui.c:1341: parse error before string constant
gui.c:1341: warning: type defaults to `int' in declaration of `input_dlg'
gui.c:1341: conflicting types for `input_dlg'
gui.c:1169: previous declaration of `input_dlg'
gui.c:1341: ANSI C forbids data definition with no type or storage class
gui.c:1344: parse error before `1'
gui.c:1344: warning: type defaults to `int' in declaration of `sleep'
gui.c:1344: ANSI C forbids data definition with no type or storage class
gui.c:1345: warning: type defaults to `int' in declaration of `tmp'
gui.c:1345: redefinition of `tmp'
gui.c:1335: `tmp' previously defined here
gui.c:1345: ANSI C forbids data definition with no type or storage class
gui.c:1346: parse error before `}'
gui.c:1357: warning: type defaults to `int' in declaration of `sub'
gui.c:1357: redefinition of `sub'
gui.c:842: `sub' previously defined here
gui.c:1357: invalid type argument of `->'
gui.c:1357: ANSI C forbids data definition with no type or storage class
gui.c:1358: parse error before `}'
gui.c:1360: parse error before `1'
gui.c:1360: warning: type defaults to `int' in declaration of `move_down'
gui.c:1360: conflicting types for `move_down'
gui.c:997: previous declaration of `move_down'
gui.c:1360: ANSI C forbids data definition with no type or storage class
gui.c:1361: warning: type defaults to `int' in declaration of `tmp'
gui.c:1361: redefinition of `tmp'
gui.c:1345: `tmp' previously defined here
gui.c:1361: ANSI C forbids data definition with no type or storage class
gui.c:1362: parse error before `}'
gui.c:1369: warning: type defaults to `int' in declaration of `sub'
gui.c:1369: redefinition of `sub'
gui.c:1357: `sub' previously defined here
gui.c:1369: invalid type argument of `->'
gui.c:1369: ANSI C forbids data definition with no type or storage class
gui.c:1370: parse error before `}'
gui.c:1372: warning: type defaults to `int' in declaration of `tmp'
gui.c:1372: redefinition of `tmp'
gui.c:1361: `tmp' previously defined here
gui.c:1372: ANSI C forbids data definition with no type or storage class
gui.c:1373: parse error before `}'
gui.c:1380: warning: type defaults to `int' in declaration of `sub'
gui.c:1380: redefinition of `sub'
gui.c:1369: `sub' previously defined here
gui.c:1380: invalid type argument of `->'
gui.c:1380: ANSI C forbids data definition with no type or storage class
gui.c:1381: parse error before `}'
gui.c:1383: warning: type defaults to `int' in declaration of `tmp'
gui.c:1383: redefinition of `tmp'
gui.c:1372: `tmp' previously defined here
gui.c:1383: ANSI C forbids data definition with no type or storage class
gui.c:1384: parse error before `}'
gui.c:1388: warning: type defaults to `int' in declaration of `sub'
gui.c:1388: redefinition of `sub'
gui.c:1380: `sub' previously defined here
gui.c:1388: `chow' undeclared here (not in a function)
gui.c:1388: ANSI C forbids data definition with no type or storage class
gui.c:1389: parse error before `while'
gui.c:1391: warning: type defaults to `int' in declaration of `tmp'
gui.c:1391: redefinition of `tmp'
gui.c:1383: `tmp' previously defined here
gui.c:1391: invalid type argument of `->'
gui.c:1391: `pos' undeclared here (not in a function)
gui.c:1391: ANSI C forbids data definition with no type or storage class
gui.c:1392: parse error before `->'
gui.c:1393: warning: type defaults to `int' in declaration of `sub'
gui.c:1393: redefinition of `sub'
gui.c:1388: `sub' previously defined here
gui.c:1393: invalid type argument of `->'
gui.c:1393: ANSI C forbids data definition with no type or storage class
gui.c:1394: parse error before `}'
gui.c:1396: warning: type defaults to `int' in declaration of `tmp'
gui.c:1396: redefinition of `tmp'
gui.c:1391: `tmp' previously defined here
gui.c:1396: ANSI C forbids data definition with no type or storage class
gui.c:1397: parse error before `}'
gui.c:1419: warning: type defaults to `int' in declaration of `selected_row'
gui.c:1419: redefinition of `selected_row'
gui.c:868: `selected_row' previously defined here
gui.c:1419: ANSI C forbids data definition with no type or storage class
gui.c:1420: warning: type defaults to `int' in declaration of `tmp'
gui.c:1420: redefinition of `tmp'
gui.c:1396: `tmp' previously defined here
gui.c:1420: ANSI C forbids data definition with no type or storage class
gui.c:1421: parse error before `}'
gui.c:1429: warning: type defaults to `int' in declaration of `key'
gui.c:1429: redefinition of `key'
gui.c:878: `key' previously defined here
gui.c:1429: ANSI C forbids data definition with no type or storage class
gui.c:1430: warning: type defaults to `int' in declaration of `clear_all_screen'
gui.c:1430: conflicting types for `clear_all_screen'
gui.c:975: previous declaration of `clear_all_screen'
gui.c:1430: ANSI C forbids data definition with no type or storage class
gui.c:1431: warning: type defaults to `int' in declaration of `draw_top'
gui.c:1431: warning: parameter names (without types) in function declaration
gui.c:1431: conflicting types for `draw_top'
gui.c:1033: previous declaration of `draw_top'
gui.c:1431: ANSI C forbids data definition with no type or storage class
gui.c:1432: parse error before `->'
gui.c:1433: parse error before `0'
gui.c:1433: warning: type defaults to `int' in declaration of `mvprintw'
gui.c:1433: ANSI C forbids data definition with no type or storage class
gui.c:1434: warning: type defaults to `int' in declaration of `wrefresh'
gui.c:1434: warning: parameter names (without types) in function declaration
gui.c:1434: ANSI C forbids data definition with no type or storage class
gui.c:1435: parse error before `return'
gui.c:1441: redefinition of `draw_menu'
gui.c:890: `draw_menu' previously defined here
gui.c:1526: conflicting types for `clear_all_screen'
gui.c:1430: previous declaration of `clear_all_screen'
gui.c:1533: redefinition of `move_up'
gui.c:982: `move_up' previously defined here
gui.c:1548: conflicting types for `move_down'
gui.c:1360: previous declaration of `move_down'
gui.c:1564: redefinition of `row_clear'
gui.c:1013: `row_clear' previously defined here
gui.c:1584: conflicting types for `draw_top'
gui.c:1431: previous declaration of `draw_top'
gui.c:1706: redefinition of `help_screen'
gui.c:1155: `help_screen' previously defined here
gui.c:1720: conflicting types for `input_dlg'
gui.c:1341: previous declaration of `input_dlg'
gui.c:1864: redefinition of `murder'
gui.c:1313: `murder' previously defined here
gui.c: In function `find':
gui.c:1888: warning: implicit declaration of function `regcomp'
gui.c:1888: `preg' undeclared (first use in this function)
gui.c:1888: (Each undeclared identifier is reported only once
gui.c:1888: for each function it appears in.)
gui.c:1888: `REG_ICASE' undeclared (first use in this function)
gui.c:1888: `REG_NOSUB' undeclared (first use in this function)
gui.c:1888: `REG_EXTENDED' undeclared (first use in this function)
gui.c:1891: warning: implicit declaration of function `regexec'
gui.c:1891: `count' undeclared (first use in this function)
gui.c:1896: warning: pointer targets in passing arg 2 of `move_down' differ in signedness
make: *** [gui.o] Error 1
