Date: Wed, 4 Aug 2021 20:10:34 GMT From: Ed Maste <emaste@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: a0d701f61426 - main - vtfontcvt: minor style(9) fixes from clang-format Message-ID: <202108042010.174KAYSb045196@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=a0d701f6142686e853f96745a11bc9231dad97a9 commit a0d701f6142686e853f96745a11bc9231dad97a9 Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2021-05-13 00:17:35 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2021-08-04 19:08:21 +0000 vtfontcvt: minor style(9) fixes from clang-format Found during clang-format experiments (in D26340). Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D30237 --- usr.bin/vtfontcvt/vtfontcvt.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/usr.bin/vtfontcvt/vtfontcvt.c b/usr.bin/vtfontcvt/vtfontcvt.c index fbfc0539b4d9..b7587f5881ec 100644 --- a/usr.bin/vtfontcvt/vtfontcvt.c +++ b/usr.bin/vtfontcvt/vtfontcvt.c @@ -31,21 +31,21 @@ __FBSDID("$FreeBSD$"); #include <sys/types.h> -#include <sys/fnv_hash.h> #include <sys/endian.h> +#include <sys/fnv_hash.h> +#include <sys/font.h> #include <sys/param.h> #include <sys/queue.h> -#include <sys/font.h> #include <assert.h> #include <err.h> +#include <lz4.h> +#include <stdbool.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> -#include <stdbool.h> #include <string.h> #include <unistd.h> -#include <lz4.h> #define VFNT_MAXGLYPHS 131072 #define VFNT_MAXDIMENSION 128 @@ -300,11 +300,11 @@ check_whitelist(unsigned c) if (format == VT_C_SOURCE) { w = s_list; - n = sizeof (s_list) / sizeof (s_list[0]); + n = sizeof(s_list) / sizeof(s_list[0]); } if (format == VT_C_COMPRESSED) { w = c_list; - n = sizeof (c_list) / sizeof (c_list[0]); + n = sizeof(c_list) / sizeof(c_list[0]); } if (w == NULL) return (true); @@ -847,7 +847,7 @@ write_fnt_source(bool lz4, const char *filename) goto done; } if (fprintf(fp, "};\n\n") < 0) - goto done; + goto done; /* Write font maps. */ if (!TAILQ_EMPTY(&maps[VFNT_MAP_NORMAL])) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108042010.174KAYSb045196>