]> git.ipfire.org Git - thirdparty/gcc.git/commit
libiberty: Fix C89-isms in configure tests
authorFlorian Weimer <fweimer@redhat.com>
Tue, 18 Oct 2022 14:58:48 +0000 (16:58 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Wed, 4 Jan 2023 10:13:48 +0000 (11:13 +0100)
commit63f3eae53683e857818c4bd3d1de719e1310e22a
treeae095bb4c97d03217061ce51dd64603c553168ac
parent7d7146102365f708a37401c902fce2f4024b546a
libiberty: Fix C89-isms in configure tests

libiberty/

* acinclude.m4 (ac_cv_func_strncmp_works): Add missing
int return type and parameter list to the definition of main.
Include <stdlib.h> and <string.h> for prototypes.
(ac_cv_c_stack_direction): Add missing
int return type and parameter list to the definitions of
main, find_stack_direction.  Include <stdlib.h> for exit
prototype.
* configure: Regenerate.

(cherry picked from commit 885b6660c17fb91980b5682514ef54668e544b02)
libiberty/acinclude.m4
libiberty/configure