X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Ftimothy_tests%2Flinux_tests%2Flib.c;fp=direct%2Ftimothy_tests%2Flinux_tests%2Flib.c;h=ffc9b0555f468449abca88f6702f53e0f9d824be;hp=c5adae72e2d2d71d4e1064684aff17cb86048f23;hb=79333a6e009cc468a6c15ff1077f3bc389fd85e9;hpb=9c35dd427cec7ce855ed5816f12b241d2d5f8ba2 diff --git a/direct/timothy_tests/linux_tests/lib.c b/direct/timothy_tests/linux_tests/lib.c index c5adae7..ffc9b05 100644 --- a/direct/timothy_tests/linux_tests/lib.c +++ b/direct/timothy_tests/linux_tests/lib.c @@ -14,6 +14,17 @@ #include "lib.h" static char message[200]; static int PRINT_LEVEL = 3; +static int exit_on_error_val =1; + +int get_exit_on_error(void) +{ + return exit_on_error_val; +} + +void set_exit_on_error(int val) +{ + exit_on_error_val=val; +} node * linked_list_add_node(int pos,node *head_node) {