1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
Description: configure.ac: Avoid implicit declaration of the exit function
Future C compilers are likely to reject implicit function
declarations by default. This language feature was officially
removed in 1999.
Author: Florian Weimer <fweimer@redhat.com>
Origin: https://github.com/oetiker/mrtg/pull/104
Last-Update: 2022-12-16
Index: mrtg/configure.ac
===================================================================
--- mrtg.orig/configure.ac
+++ mrtg/configure.ac
@@ -37,7 +37,7 @@ AC_CACHE_VAL(mr_cv_long_long_format_spec
char buffer[1000];
sprintf (buffer, "%${format}u", a);
sscanf (buffer, "%${format}u", &b);
- exit (b!=a);
+ return b!=a;
}
]])],[mr_cv_long_long_format_specifier="%${format}d"
mr_cv_long_long_format="${format}d"
|