From 108233784827d54361c99c67eaee9e668010b3c3 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Sun, 17 May 2020 20:21:59 -0700 Subject: Reformat all C code with clang-format-10 --- Makefile.am | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index ba7b1be..d5e46a8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,7 +1,7 @@ # Automake makefile for wallet. # # Written by Russ Allbery -# Copyright 2016, 2018 Russ Allbery +# Copyright 2016, 2018, 2020 Russ Allbery # Copyright 2006-2008, 2010, 2013-2014 # The Board of Trustees of the Leland Stanford Junior University # @@ -320,3 +320,9 @@ check-cppcheck: # uninstall from Perl. distuninstallcheck: @: + +# Used by maintainers to reformat all source code using clang-format and +# excluding some files. +reformat: + find . -name '*.[ch]' \! -name snprintf.c \! -name krb5-profile.c \ + -print | xargs clang-format-10 -style=file -i -- cgit v1.2.3