> Modified: head/sys/sys/param.h > ============================================================================== > --- head/sys/sys/param.h Sat Jun 18 13:54:36 2011 (r223261) > +++ head/sys/sys/param.h Sat Jun 18 13:56:33 2011 (r223262) > @@ -319,4 +319,10 @@ __END_DECLS > #define member2struct(s, m, x) > \ > ((struct s *)(void *)((char *)(x) - offsetof(struct s, m))) > > +/* > + * Access a variable length array that has been declared as a fixed > + * length array. > + */ > +#define __PAST_END(array, offset) (((typeof(*(array)) *)(array))[offset]) > + > #endif /* _SYS_PARAM_H_ */
The "typeof" there should be "__typeof", most likely.
pgpkW0Q6BZ4zQ.pgp
Description: PGP signature