Apply adjusted clang-format

The headers were slightly reordered when liburcu was added.
This commit is contained in:
Tony Finch 2023-03-08 19:25:34 +00:00 committed by Ondřej Surý
parent 2532b558b4
commit 7e565a87a7
No known key found for this signature in database
GPG key ID: 2820F37E873DEA41
13 changed files with 24 additions and 29 deletions

View file

@ -20,9 +20,10 @@
#include <stdbool.h>
#include <isccc/types.h>
#include <isccfg/aclconf.h>
#include <isccc/types.h>
#include <named/types.h>
#define NAMED_CONTROL_PORT 953

View file

@ -26,10 +26,11 @@
#include <dns/acl.h>
#include <dns/zone.h>
#include <dst/dst.h>
#include <isccfg/aclconf.h>
#include <isccfg/cfg.h>
#include <dst/dst.h>
#include <named/fuzz.h>
#include <named/types.h>

View file

@ -18,9 +18,10 @@
* The statistics channels built-in the name server.
*/
#include <isccc/types.h>
#include <isccfg/aclconf.h>
#include <isccc/types.h>
#include <named/types.h>
#define NAMED_STATSCHANNEL_HTTPPORT 80

View file

@ -25,13 +25,12 @@
#pragma once
#include <inttypes.h>
#include <stdbool.h>
#include <stdlib.h>
#include <arpa/inet.h>
#include <inttypes.h>
#include <net/if.h>
#include <netinet/in.h>
#include <stdbool.h>
#include <stdlib.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <sys/un.h>

View file

@ -36,13 +36,12 @@
#pragma once
#include <arpa/nameser.h>
#include <inttypes.h>
#include <netinet/in.h>
#include <stdarg.h>
#include <stdbool.h>
#include <stdio.h>
#include <arpa/nameser.h>
#include <netinet/in.h>
#include <sys/types.h>
/*

View file

@ -46,6 +46,7 @@
*/
#include <inttypes.h>
#include <netinet/in.h>
#include <stdbool.h>
#include <isc/lang.h>
@ -58,8 +59,6 @@
#include <dns/fixedname.h>
#include <dns/types.h>
#include <netinet/in.h>
#undef DNS_RESOLVER_TRACE
ISC_LANG_BEGINDECLS

View file

@ -17,12 +17,11 @@
#include <dirent.h>
#include <limits.h>
#include <sys/types.h> /* Required on some systems. */
#include <isc/lang.h>
#include <isc/result.h>
#include <sys/types.h> /* Required on some systems. */
#ifndef NAME_MAX
#define NAME_MAX 256
#endif

View file

@ -17,12 +17,11 @@
#include <stdbool.h>
#include <stdio.h>
#include <sys/stat.h>
#include <isc/lang.h>
#include <isc/types.h>
#include <sys/stat.h>
ISC_LANG_BEGINDECLS
isc_result_t

View file

@ -65,17 +65,16 @@
/***
*** Imports.
***/
#include <inttypes.h>
#include <isc/lang.h>
#include <isc/types.h>
#include <arpa/inet.h> /* Contractual promise. */
#include <inttypes.h>
#include <net/if.h>
#include <netinet/in.h> /* Contractual promise. */
#include <sys/socket.h> /* Contractual promise. */
#include <sys/types.h>
#include <isc/lang.h>
#include <isc/types.h>
#ifndef IN6ADDR_LOOPBACK_INIT
#ifdef s6_addr
/*% IPv6 address loopback init */

View file

@ -17,14 +17,13 @@
#include <inttypes.h>
#include <stdbool.h>
#include <sys/types.h>
#include <sys/un.h>
#include <isc/lang.h>
#include <isc/net.h>
#include <isc/types.h>
#include <sys/types.h>
#include <sys/un.h>
ISC_LANG_BEGINDECLS
/*

View file

@ -13,6 +13,8 @@
#pragma once
#include <sys/socket.h>
#include <sys/types.h>
#include <unistd.h>
#include <isc/mem.h>
@ -21,9 +23,6 @@
#include <isc/tls.h>
#include <isc/types.h>
#include <sys/socket.h>
#include <sys/types.h>
#undef ISC_NETMGR_TRACE
#if defined(SO_REUSEPORT_LB) || (defined(SO_REUSEPORT) && defined(__linux__))

View file

@ -16,13 +16,12 @@
/*! \file isc/sockaddr.h */
#include <stdbool.h>
#include <sys/un.h>
#include <isc/lang.h>
#include <isc/net.h>
#include <isc/types.h>
#include <sys/un.h>
/*
* Any updates to this structure should also be applied in
* contrib/modules/dlz/dlz_minmal.h.

View file

@ -38,6 +38,7 @@
#include <isc/lang.h>
#include <dst/dst.h>
#include <isccc/types.h>
ISC_LANG_BEGINDECLS