branch: master
commit c1afb230e180698212dd18169d0f1f762db3e583
Author: Ileana Dumitrescu <[email protected]>
AuthorDate: Sat May 11 12:07:13 2024 +0300
resident: Fixed syntax error with g++ compilation
A function used in a test was not returning a value, while an int was
expected so the test would fail to compile.
tests/resident.at: Return the result of atexit().
---
tests/resident.at | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/resident.at b/tests/resident.at
index 392bb457..a7ce1add 100644
--- a/tests/resident.at
+++ b/tests/resident.at
@@ -116,7 +116,7 @@ extern "C"
int
setup_plugin (void)
{
- atexit (bye);
+ return atexit (bye);
}
]])