Closed PatrickMckay1998 closed 3 months ago
Updated test functions page, test function so far only returns two errors
test_functions.c:23:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] 23 | char* delim = "-"; | ^~~~ test_functions.c:37:11: error: implicit declaration of function 'wait' [-Werror=implicit-function-declaration] 37 | wait(NULL); | ^~~~ test_functions.c:16:17: error: variable 'num_read' set but not used [-Werror=unused-but-set-variable] 16 | ssize_t num_read; | ^~~~
Updated test functions page, test function so far only returns two errors
test_functions.c:23:9: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] 23 | char* delim = "-"; | ^~~~ test_functions.c:37:11: error: implicit declaration of function 'wait' [-Werror=implicit-function-declaration] 37 | wait(NULL); | ^~~~ test_functions.c:16:17: error: variable 'num_read' set but not used [-Werror=unused-but-set-variable] 16 | ssize_t num_read; | ^
~~~