git: a0d701f61426 - main - vtfontcvt: minor style(9) fixes from clang-format
Ed Maste
emaste at FreeBSD.org
Wed Aug 4 20:10:35 UTC 2021
The branch main has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=a0d701f6142686e853f96745a11bc9231dad97a9
commit a0d701f6142686e853f96745a11bc9231dad97a9
Author: Ed Maste <emaste at FreeBSD.org>
AuthorDate: 2021-05-13 00:17:35 +0000
Commit: Ed Maste <emaste at 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])) {
More information about the dev-commits-src-main
mailing list