From: Frank Lichtenheld <[email protected]>

Convert to new KeepEmptyLines settings. This adds
AtStartOfFile setting and applies it.

Change-Id: Ibb80db0547dcc0935964c9bd40222c27aac80439
Signed-off-by: Frank Lichtenheld <[email protected]>
Acked-by: Razvan Cojocaru <[email protected]>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1848
---

This change was reviewed on Gerrit and approved by at least one
developer. I request to merge it to master.

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1848
This mail reflects revision 2 of this Change.

Acked-by according to Gerrit (reflected above):
Razvan Cojocaru <[email protected]>

        
diff --git a/.clang-format b/.clang-format
index 4774d1e..0823739 100644
--- a/.clang-format
+++ b/.clang-format
@@ -32,7 +32,10 @@
 IndentWidth: '4'
 IndentWrappedFunctionNames: false
 InsertBraces: true
-KeepEmptyLinesAtTheStartOfBlocks: false
+KeepEmptyLines:
+  AtEndOfFile: false
+  AtStartOfBlock: false
+  AtStartOfFile: false
 MaxEmptyLinesToKeep: '2'
 PointerAlignment: Right
 ReflowComments: true
diff --git a/src/openvpn/crypto_mbedtls.h b/src/openvpn/crypto_mbedtls.h
index 04346a9..5c3b670 100644
--- a/src/openvpn/crypto_mbedtls.h
+++ b/src/openvpn/crypto_mbedtls.h
@@ -1,4 +1,3 @@
-
 /*
  *  OpenVPN -- An application to securely tunnel IP networks
  *             over a single TCP/UDP port, with support for SSL/TLS-based
diff --git a/src/openvpnserv/validate.h b/src/openvpnserv/validate.h
index 12150f1..2da41dc 100644
--- a/src/openvpnserv/validate.h
+++ b/src/openvpnserv/validate.h
@@ -1,4 +1,3 @@
-
 /*
  *  OpenVPN -- An application to securely tunnel IP networks
  *             over a single TCP/UDP port, with support for SSL/TLS-based


_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to