genfun.cc: argument of mp_get_memory_functions should have C linkage
commitdefca2ea59592609caf2a5457b2902016b855267
authorSven Verdoolaege <verdoolaege@gamma.math.uni-magdeburg.de>
Sun, 24 Aug 2008 09:41:31 +0000 (24 11:41 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Thu, 28 Aug 2008 10:08:33 +0000 (28 12:08 +0200)
tree5cbaf32ae5b6e4b38020c24bd6e84e2ab10d7306
parenta7bd3bc8d3296bc896dd186154b4b3a286ceb13c
genfun.cc: argument of mp_get_memory_functions should have C linkage

Sun's compiler complained about the old code:

"../../git/barvinok/genfun.cc", line 826: Error: Formal argument 3 of type extern "C" void(*)(void*,unsigned)* in call to __gmp_get_memory_functions(extern "C" void*(*)(unsigned)*, extern "C" void*(*)(void*,unsigned,unsigned)*, extern "C" void(*)(void*,unsigned)*) is being passed void(*)(void*,unsigned)*.
genfun.cc