Silence some warnings and errors

(cherry picked from commit 0f0dfc7f86)
This commit is contained in:
Witold Krecicki 2018-08-30 13:16:15 +02:00 committed by Evan Hunt
parent 2bb5fc2e9b
commit eec06494aa
2 changed files with 2 additions and 4 deletions

View file

@ -1772,7 +1772,7 @@ check_update_policy(const cfg_obj_t *policy, isc_log_t *logctx) {
typedef struct {
const char *name;
int allowed;
unsigned int allowed;
} optionstable;
static isc_result_t

View file

@ -9,8 +9,6 @@
* information regarding copyright ownership.
*/
/* $Id$ */
#ifndef ISC_SOCKET_H
#define ISC_SOCKET_H 1
@ -259,7 +257,7 @@ struct isc_socket_connev {
* _DSCP: The UDP DSCP value is valid.
* _USEMINMTU: Set the per packet IPV6_USE_MIN_MTU flag.
*/
#define ISC_SOCKEVENTATTR_ATTACHED 0x80000000U /* internal */
#define ISC_SOCKEVENTATTR_ATTACHED 0x10000000U /* internal */
#define ISC_SOCKEVENTATTR_TRUNC 0x00800000U /* public */
#define ISC_SOCKEVENTATTR_CTRUNC 0x00400000U /* public */
#define ISC_SOCKEVENTATTR_TIMESTAMP 0x00200000U /* public */