Re: alloca() implicit declaration for BSD's

2022-08-05 Thread Niels Möller
Brad Smith writes: > That resolved the alloca warnings as well as removing another warning > in getopt.c. Thanks for testing. I've now committed those changes. > -getopt.c:1188:1: warning: no previous prototype for function 'getopt' > [-Wmissing-prototypes] > -getopt (int argc, char *const

Re: alloca() implicit declaration for BSD's

2022-08-05 Thread Niels Möller
Brad Smith writes: > Currently there is a warning for implicit declaration of function for > alloca() on OpenBSD and > thus the other BSD's too with ecc-random.c, getopt.c, and pss-mgf1.c. > The appropriate missing > header is stdlib.h. What is the preferred method for fixing this? I > was

Re: alloca() implicit declaration for BSD's

2022-08-04 Thread Niels Möller
Brad Smith writes: > Currently there is a warning for implicit declaration of function for > alloca() on OpenBSD and > thus the other BSD's too with ecc-random.c, getopt.c, and pss-mgf1.c. > The appropriate missing > header is stdlib.h. What is the preferred method for fixing this? I > was