Date: Tue, 8 Feb 2022 21:45:38 GMT From: Ed Maste <emaste@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 4a0d7fd1734f - stable/13 - vtfontcvt: minor style(9) fixes from clang-format Message-ID: <202202082145.218Ljc2h043112@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=4a0d7fd1734f14f17c177b95a1212ea078c939b6 commit 4a0d7fd1734f14f17c177b95a1212ea078c939b6 Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2021-05-13 00:17:35 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2022-02-08 20:51:34 +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 (cherry picked from commit a0d701f6142686e853f96745a11bc9231dad97a9) --- 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?202202082145.218Ljc2h043112>