]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
resident: Fixed syntax error with g++ compilation
authorIleana Dumitrescu <ileanadumitrescu95@gmail.com>
Sat, 11 May 2024 09:07:13 +0000 (12:07 +0300)
committerIleana Dumitrescu <ileanadumitrescu95@gmail.com>
Sat, 11 May 2024 09:07:13 +0000 (12:07 +0300)
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

index 392bb4578772268a7707734fb82cc80e402ec897..a7ce1add8ec72f2929c64b668ac3b56f5461c8ab 100644 (file)
@@ -116,7 +116,7 @@ extern "C"
 int
 setup_plugin (void)
 {
-  atexit (bye);
+  return atexit (bye);
 }
 ]])