C
Christopher M. Lusardi
Hello,
Can you tell me is it my imagination, or should I not stick a "volatile"
definition into a dot h file?
My problem is if I put my declaration in main.c before main () my code
works. But, if I move it to a dot h and include the dot h into main.c, I
get an error when I run the program.
I am using the volatile qualifier because I am using mmap.
Any suggestions,
Christopher Lusardi
Can you tell me is it my imagination, or should I not stick a "volatile"
definition into a dot h file?
My problem is if I put my declaration in main.c before main () my code
works. But, if I move it to a dot h and include the dot h into main.c, I
get an error when I run the program.
I am using the volatile qualifier because I am using mmap.
Any suggestions,
Christopher Lusardi