Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153073197
D30237.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D30237.diff
View Options
diff --git a/usr.bin/vtfontcvt/vtfontcvt.c b/usr.bin/vtfontcvt/vtfontcvt.c
--- 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 @@
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 @@
goto done;
}
if (fprintf(fp, "};\n\n") < 0)
- goto done;
+ goto done;
/* Write font maps. */
if (!TAILQ_EMPTY(&maps[VFNT_MAP_NORMAL])) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 19, 11:27 PM (13 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31807044
Default Alt Text
D30237.diff (1 KB)
Attached To
Mode
D30237: vtfontcvt: minor style(9) fixes from clang-format
Attached
Detach File
Event Timeline
Log In to Comment