diff options
author | marcel <marcel@FreeBSD.org> | 2002-11-10 20:13:58 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2002-11-10 20:13:58 +0000 |
commit | 69bc439801d6b77dd018e70a586a43d8d3063451 (patch) | |
tree | e6b2e169d7409b3967e904f3b0c4a485033b7317 /sys | |
parent | 73d398d702d8489985977353b7f67aaabb9d840c (diff) | |
download | FreeBSD-src-69bc439801d6b77dd018e70a586a43d8d3063451.zip FreeBSD-src-69bc439801d6b77dd018e70a586a43d8d3063451.tar.gz |
o Include <sys/uuid.h>. This avoids that applications such as
gpt(8) have to include both <sys/uuid.h> and <uuid.h> only
because they include <sys/gpt.h> before <uuid.h>.
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.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/gpt.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/sys/gpt.h b/sys/sys/gpt.h index ee20ce9..b5f9a40 100644 --- a/sys/sys/gpt.h +++ b/sys/sys/gpt.h @@ -29,6 +29,8 @@ #ifndef _SYS_GPT_H_ #define _SYS_GPT_H_ +#include <sys/uuid.h> + 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 \ |