Browse code

uncrustify: have exactly one newline at the end of files

Avoid the ugly "No newline at end of file" in git diffs.

Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
Acked-by: Antonio Quartulli <a@unstable.cc>
Message-Id: <20220518105157.9026-1-frank@lichtenheld.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg24386.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>

Frank Lichtenheld authored on 2022/05/18 19:51:57
Showing 3 changed files
... ...
@@ -46,6 +46,8 @@ nl_enum_leave_one_liners=true
46 46
 nl_brace_fparen=add
47 47
 nl_max=4
48 48
 nl_after_func_proto=2
49
+nl_end_of_file_min=1
50
+nl_end_of_file=force
49 51
 
50 52
 # Always use scoping braces for conditionals
51 53
 mod_full_brace_if=add
... ...
@@ -102,4 +102,3 @@ daemon(int nochdir, int noclose)
102 102
 }
103 103
 
104 104
 #endif /* ifndef HAVE_DAEMON */
105
-
... ...
@@ -489,4 +489,4 @@ p2p_mode_ncp(struct tls_multi *multi, struct tls_session *session)
489 489
         multi->use_peer_id, multi->peer_id, common_cipher);
490 490
 
491 491
     gc_free(&gc);
492
-}
493 492
\ No newline at end of file
493
+}