]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
resolve: sort headers
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 2 Aug 2018 06:41:48 +0000 (15:41 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 6 Aug 2018 07:57:00 +0000 (09:57 +0200)
src/resolve/resolved-dnstls-gnutls.c
src/resolve/resolved-dnstls-gnutls.h
src/resolve/resolved-dnstls-openssl.c
src/resolve/resolved-dnstls-openssl.h

index 820e1926fd56c2f616a2f8b081ea0c9ebf8145e9..15055284d5cd53c37667df20e6291e064a27c34c 100644 (file)
@@ -4,11 +4,11 @@
 #error This source file requires DNS-over-TLS to be enabled and GnuTLS to be available.
 #endif
 
-#include "resolved-dnstls.h"
-#include "resolved-dns-stream.h"
-
 #include <gnutls/socket.h>
 
+#include "resolved-dns-stream.h"
+#include "resolved-dnstls.h"
+
 DEFINE_TRIVIAL_CLEANUP_FUNC(gnutls_session_t, gnutls_deinit);
 
 static ssize_t dnstls_stream_writev(gnutls_transport_ptr_t p, const giovec_t *iov, int iovcnt) {
index 364eea1a038b0b11bd5a2c02c38a2e65cae654ff..41c89f273751eb0c366af65b246898ae747fdfd9 100644 (file)
@@ -5,9 +5,8 @@
 #error This source file requires DNS-over-TLS to be enabled and GnuTLS to be available.
 #endif
 
-#include <stdbool.h>
-
 #include <gnutls/gnutls.h>
+#include <stdbool.h>
 
 struct DnsTlsServerData {
         gnutls_certificate_credentials_t cert_cred;
index a7a8b1152a9b5fe7aee0fee704063f08e5e56ea2..9242f6ab08dc0f7f5dbdb223a2813798b8e991d1 100644 (file)
@@ -4,12 +4,12 @@
 #error This source file requires DNS-over-TLS to be enabled and OpenSSL to be available.
 #endif
 
-#include "resolved-dnstls.h"
-#include "resolved-dns-stream.h"
-
 #include <openssl/bio.h>
 #include <openssl/err.h>
 
+#include "resolved-dns-stream.h"
+#include "resolved-dnstls.h"
+
 DEFINE_TRIVIAL_CLEANUP_FUNC(SSL*, SSL_free);
 DEFINE_TRIVIAL_CLEANUP_FUNC(BIO*, BIO_free);
 
index c57bc1c57c9692ff4be98038e6cd4198ba1d5709..f0dccf32e65fa363c67d0cf78d894c6b1e8e9713 100644 (file)
@@ -5,9 +5,8 @@
 #error This source file requires DNS-over-TLS to be enabled and OpenSSL to be available.
 #endif
 
-#include <stdbool.h>
-
 #include <openssl/ssl.h>
+#include <stdbool.h>
 
 struct DnsTlsServerData {
         SSL_CTX *ctx;