Closed khorben closed 2 months ago
This adds an ldns/internal.h C header, containing a copy of the function prototypes for internal functions not exposed in the API.
It effectively works around the following compilation error: error: no previous prototype for function [-Werror,-Wmissing-prototypes]
This header is not installed, and does not affect the API exposed.
Tested on FreeBSD/amd64 (14.0-CURRENT).
Note that this was performed on version 1.8.3, but it seems that it still applies in the same way in the develop branch.
develop
This adds an ldns/internal.h C header, containing a copy of the function prototypes for internal functions not exposed in the API.
It effectively works around the following compilation error: error: no previous prototype for function [-Werror,-Wmissing-prototypes]
This header is not installed, and does not affect the API exposed.
Tested on FreeBSD/amd64 (14.0-CURRENT).
Note that this was performed on version 1.8.3, but it seems that it still applies in the same way in the
develop
branch.