Convert types 'Elf{32,64}_Nhdr' into aliases of the generic 'Elf_Note'

type.

Reviewed by:	jb
This commit is contained in:
Joseph Koshy 2006-10-17 05:43:30 +00:00
parent 1e118f7ee8
commit 9b119ea634
2 changed files with 2 additions and 10 deletions

View File

@ -141,11 +141,7 @@ typedef struct {
/*
* Note entry header
*/
typedef struct {
Elf32_Word n_namesz; /* length of note's name */
Elf32_Word n_descsz; /* length of note's "desc" */
Elf32_Word n_type; /* type of note */
} Elf32_Nhdr;
typedef Elf_Note Elf32_Nhdr;
/*
* Move entry

View File

@ -155,11 +155,7 @@ typedef struct {
/*
* Note entry header
*/
typedef struct {
Elf64_Word n_namesz; /* length of note's name */
Elf64_Word n_descsz; /* length of note's "desc" */
Elf64_Word n_type; /* type of note */
} Elf64_Nhdr;
typedef Elf_Note Elf64_Nhdr;
/*
* Move entry