diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-08-28 17:08:01 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-08-28 17:08:01 -0700 |
commit | c7fde8d4e4175b436bc8db92bedd231261827e2c (patch) | |
tree | bb8093fcbb2784253a1ff58ff5a4908517c21581 /002test.cc | |
parent | c7a836797abcbc65c39e7c3cae2ae88b7b878916 (diff) | |
download | mu-c7fde8d4e4175b436bc8db92bedd231261827e2c.tar.gz |
3272
Move global constants into their own section since we seem to be having trouble linking in 'extern const' variables when manually cleaving mu.cc into separate compilation units.
Diffstat (limited to '002test.cc')
-rw-r--r-- | 002test.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/002test.cc b/002test.cc index b9cb0e15..bb3e3b51 100644 --- a/002test.cc +++ b/002test.cc @@ -10,8 +10,7 @@ :(before "End Types") typedef void (*test_fn)(void); -:(before "Globals") -// move a global ahead into types that we can't generate an extern declaration for +:(before "End Constants") const test_fn Tests[] = { #include "test_list" // auto-generated; see makefile }; |