Fixed linker error running wlc check in check_sawsim.
authorW. Trevor King <wking@drexel.edu>
Tue, 2 Sep 2008 11:39:24 +0000 (07:39 -0400)
committerW. Trevor King <wking@drexel.edu>
Tue, 2 Sep 2008 11:39:24 +0000 (07:39 -0400)
commit0cbd8fdc8be9f8374c868a419fed95267e809f00
tree550974613007834c54a49d259d2624cb455f9eda
parent7856f43e7614c9cb03de24433ebd476ae6e3b3d1
Fixed linker error running wlc check in check_sawsim.

Obviously, the wlc check should be in check_tension_model, but that
doesn't exist yet.  When it does, it will still need the wlc()
declaration, since wlc() is not exported directly by tension_model.h.
I also added protective #ifndef-#def-#endif protection to the headers.

TODO: Determine which modules depend on which other modules and make
the appropriate includes in the headers themselves.  Then the .c files
need only include the headers they use directly.
src/sawsim.nw