From 69bc439801d6b77dd018e70a586a43d8d3063451 Mon Sep 17 00:00:00 2001 From: marcel Date: Sun, 10 Nov 2002 20:13:58 +0000 Subject: [PATCH] o Include . This avoids that applications such as gpt(8) have to include both and only because they include before . o Drop the triple bang in the unicode comment in favor of adding '-16' to make it explicit that the unicode characters are 16-bit. The fact that we use short as the type of the array does give it away; but only to the careful reader. --- sys/sys/gpt.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/sys/gpt.h b/sys/sys/gpt.h index ee20ce9fe989..b5f9a4038fcb 100644 --- a/sys/sys/gpt.h +++ b/sys/sys/gpt.h @@ -29,6 +29,8 @@ #ifndef _SYS_GPT_H_ #define _SYS_GPT_H_ +#include + struct gpt_hdr { char hdr_sig[8]; #define GPT_HDR_SIG "EFI PART" @@ -63,7 +65,7 @@ struct gpt_ent { uint64_t ent_lba_end; uint64_t ent_attr; #define GPT_ENT_ATTR_PLATFORM (1ULL << 0) - short ent_name[36]; /* UNICODE!!! */ + short ent_name[36]; /* UNICODE-16. */ }; #define GPT_ENT_TYPE_UNUSED \