Deleted Added
full compact
32c32
< * $FreeBSD: head/sys/compat/ndis/pe_var.h 144888 2005-04-11 02:02:35Z wpaul $
---
> * $FreeBSD: head/sys/compat/ndis/pe_var.h 151703 2005-10-26 18:46:27Z wpaul $
216a217,220
> #define IMAGE_SIZEOF_NT_HEADER(nthdr) \
> (offsetof(image_nt_header, inh_optionalhdr) + \
> ((image_nt_header *)(nthdr))->inh_filehdr.ifh_optionalhdrlen)
>
283a288,292
> #define IMAGE_FIRST_SECTION(nthdr) \
> ((image_section_header *)((vm_offset_t)(nthdr) + \
> offsetof(image_nt_header, inh_optionalhdr) + \
> ((image_nt_header *)(nthdr))->inh_filehdr.ifh_optionalhdrlen))
>