projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaffs Finshed direct/timothy_tests/linux_test.
[yaffs2.git]
/
direct
/
timothy_tests
/
linux_tests
/
lib.c
diff --git
a/direct/timothy_tests/linux_tests/lib.c
b/direct/timothy_tests/linux_tests/lib.c
index c5adae72e2d2d71d4e1064684aff17cb86048f23..ffc9b0555f468449abca88f6702f53e0f9d824be 100644
(file)
--- 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;
#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)
{
node * linked_list_add_node(int pos,node *head_node)
{