Mercurial > pub > dyncall > dyncall
diff test/suite_floats/main.cc @ 606:85b7a117b807
- more statics in test code (this is partly needed on an experimental freebsd sparc64 build where the elf cleanup code crashes for some reason ... it's probably that experimental build, but a good change to do regardless)
author | Tassilo Philipp |
---|---|
date | Wed, 21 Sep 2022 15:20:58 +0200 |
parents | d73dc7ad37e4 |
children |
line wrap: on
line diff
--- a/test/suite_floats/main.cc Wed Sep 21 14:37:09 2022 +0200 +++ b/test/suite_floats/main.cc Wed Sep 21 15:20:58 2022 +0200 @@ -6,7 +6,7 @@ Description: License: - Copyright (c) 2007-2018 Daniel Adler <dadler@uni-goettingen.de>, + Copyright (c) 2007-2022 Daniel Adler <dadler@uni-goettingen.de>, Tassilo Philipp <tphilipp@potion-studios.com> Permission to use, copy, modify, and distribute this software for any @@ -38,8 +38,8 @@ DCpointer getFunc(int x); DCValue* getArg(int pos); -DCdouble valueDouble [NARGS]; -DCfloat valueFloat [NARGS]; +static DCdouble valueDouble [NARGS]; +static DCfloat valueFloat [NARGS]; bool equals(int select, int pos, void* data)