From: Ileana Dumitrescu Date: Sat, 11 May 2024 09:07:13 +0000 (+0300) Subject: resident: Fixed syntax error with g++ compilation X-Git-Tag: v2.5.0~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c1afb230e180698212dd18169d0f1f762db3e583;p=thirdparty%2Flibtool.git 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(). --- diff --git a/tests/resident.at b/tests/resident.at index 392bb4578..a7ce1add8 100644 --- a/tests/resident.at +++ b/tests/resident.at @@ -116,7 +116,7 @@ extern "C" int setup_plugin (void) { - atexit (bye); + return atexit (bye); } ]])