functypes: provide the recv and send arg and return types

This header is for providing the argument types for recv() and send()
when built to not use a dedicated config-[platfor].h file.

Remove the slow brute-force checks from configure and cmake.

This change also removes the use of the types for select, as they were
not used in code.

Closes #9592
This commit is contained in:
Daniel Stenberg 2022-09-26 11:45:18 +02:00
parent eb0167ff7d
commit eb33ccd533
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
12 changed files with 130 additions and 630 deletions

View file

@ -31,6 +31,7 @@
*/
#include <curl/curl.h>
#include "functypes.h"
#if defined(__GNUC__) && __GNUC__ >= 3
# define ALLOC_FUNC __attribute__((malloc))