1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-19 10:50:24 -04:00

Hide getGCCycles when we have no GC

Alternatively, we could make it return 0, but we don't need it in
the first place because the caller exists conditionally too.
This commit is contained in:
Robert Hensing 2024-07-23 16:24:43 +02:00
parent eb89e50cbb
commit 5d6bc484be

View file

@ -15,9 +15,11 @@ void initGC();
*/
void assertGCInitialized();
#ifdef HAVE_BOEHMGC
/**
* The number of GC cycles since initGC().
*/
size_t getGCCycles();
#endif
}
} // namespace nix