John Baldwin schrieb:
Modified: head/sys/fs/udf/ecma167-udf.h
==============================================================================
--- head/sys/fs/udf/ecma167-udf.h       Fri Feb  6 22:22:08 2009        
(r188250)
+++ head/sys/fs/udf/ecma167-udf.h       Fri Feb  6 22:24:03 2009        
(r188251)
@@ -354,6 +354,18 @@ struct file_entry {
 #define        UDF_FENTRY_PERM_GRP_MASK        0xE0
 #define        UDF_FENTRY_PERM_OWNER_MASK      0x1C00
+/* Path Component [4/14.16.1] */
+struct path_component {
+       uint8_t                 type;
+       uint8_t                 length;
+       uint16_t                version;
+       uint8_t                 identifier[0];
+} __packed;

[0] is a GCCism. The standard way to declare a flexible array member is [] (cf. ISO/IEC 9899:1999 (E) ยง6.7.2.1:16).
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to