]> git.ipfire.org Git - thirdparty/gcc.git/commit - libiberty/configure
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>
Tue, 18 Oct 2022 14:58:48 +0000 (16:58 +0200)
commit885b6660c17fb91980b5682514ef54668e544b02
tree086df9c132f59edc69de275163858969becac32b
parent6be2672e4ee41c566a9e072088cccca263bab5f7
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.
libiberty/acinclude.m4
libiberty/configure