mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-03 16:15:27 +00:00
Silence some warnings and errors
This commit is contained in:
committed by
Evan Hunt
parent
0716902f6f
commit
d932ec871c
@@ -1871,7 +1871,7 @@ check_update_policy(const cfg_obj_t *policy, isc_log_t *logctx) {
|
|||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
const char *name;
|
const char *name;
|
||||||
int allowed;
|
unsigned int allowed;
|
||||||
} optionstable;
|
} optionstable;
|
||||||
|
|
||||||
static isc_result_t
|
static isc_result_t
|
||||||
|
@@ -231,7 +231,7 @@ enum {
|
|||||||
* _USEMINMTU: Set the per packet IPV6_USE_MIN_MTU flag.
|
* _USEMINMTU: Set the per packet IPV6_USE_MIN_MTU flag.
|
||||||
*/
|
*/
|
||||||
typedef enum {
|
typedef enum {
|
||||||
ISC_SOCKEVENTATTR_ATTACHED = 0x80000000U, /* internal */
|
ISC_SOCKEVENTATTR_ATTACHED = 0x10000000U, /* internal */
|
||||||
ISC_SOCKEVENTATTR_TRUNC = 0x00800000U, /* public */
|
ISC_SOCKEVENTATTR_TRUNC = 0x00800000U, /* public */
|
||||||
ISC_SOCKEVENTATTR_CTRUNC = 0x00400000U, /* public */
|
ISC_SOCKEVENTATTR_CTRUNC = 0x00400000U, /* public */
|
||||||
ISC_SOCKEVENTATTR_TIMESTAMP = 0x00200000U, /* public */
|
ISC_SOCKEVENTATTR_TIMESTAMP = 0x00200000U, /* public */
|
||||||
@@ -352,7 +352,7 @@ typedef struct isc_socketmethods {
|
|||||||
void (*detach)(isc_socket_t **socketp);
|
void (*detach)(isc_socket_t **socketp);
|
||||||
isc_result_t (*bind)(isc_socket_t *sock,
|
isc_result_t (*bind)(isc_socket_t *sock,
|
||||||
const isc_sockaddr_t *sockaddr,
|
const isc_sockaddr_t *sockaddr,
|
||||||
unsigned int options);
|
isc_socket_options_t options);
|
||||||
isc_result_t (*sendto)(isc_socket_t *sock, isc_region_t *region,
|
isc_result_t (*sendto)(isc_socket_t *sock, isc_region_t *region,
|
||||||
isc_task_t *task, isc_taskaction_t action,
|
isc_task_t *task, isc_taskaction_t action,
|
||||||
void *arg,
|
void *arg,
|
||||||
|
@@ -134,7 +134,7 @@ isc_socket_detach(isc_socket_t **socketp) {
|
|||||||
|
|
||||||
isc_result_t
|
isc_result_t
|
||||||
isc_socket_bind(isc_socket_t *sock, const isc_sockaddr_t *sockaddr,
|
isc_socket_bind(isc_socket_t *sock, const isc_sockaddr_t *sockaddr,
|
||||||
unsigned int options)
|
isc_socket_options_t options)
|
||||||
{
|
{
|
||||||
REQUIRE(ISCAPI_SOCKET_VALID(sock));
|
REQUIRE(ISCAPI_SOCKET_VALID(sock));
|
||||||
|
|
||||||
|
@@ -543,7 +543,7 @@ isc__socket_permunix(const isc_sockaddr_t *sockaddr, uint32_t perm,
|
|||||||
uint32_t owner, uint32_t group);
|
uint32_t owner, uint32_t group);
|
||||||
isc_result_t
|
isc_result_t
|
||||||
isc__socket_bind(isc_socket_t *sock, const isc_sockaddr_t *sockaddr,
|
isc__socket_bind(isc_socket_t *sock, const isc_sockaddr_t *sockaddr,
|
||||||
unsigned int options);
|
isc_socket_options_t options);
|
||||||
isc_result_t
|
isc_result_t
|
||||||
isc__socket_filter(isc_socket_t *sock, const char *filter);
|
isc__socket_filter(isc_socket_t *sock, const char *filter);
|
||||||
isc_result_t
|
isc_result_t
|
||||||
|
Reference in New Issue
Block a user