- added bof_thread.h to /src/libjasper/include/jasper
- added bof_thread.h to libjasperinclude_HEADERS = \... in the Make file /src/libjasper/include/jasper
- moved #include to the jasper.h
- undo step 1-3, remove bof_thread.h
- added the linkedList struct and functions to the jas_malloc.h
- implemented the function body in the jas_malloc.c
- The imgcmp is using the jasper_seq.c as well, so if the linkedlist is available jasper.c and jasper_seq.c, it will cause the problem in compiling in the imgcmp.c, therefore, the variable and functions for the linkedlist are defined in the jasper_malloc.c which is available for both jasper.c and imgcmp.c
- extern for the variable
- file A - the host, host the variable name and store its value
int global;- file B - the one uses the variable in file A - to read and write
extern int global;
No comments:
Post a Comment