Convert types 'Elf{32,64}_Nhdr' into aliases of the generic 'Elf_Note'
type. Reviewed by: jb
This commit is contained in:
parent
1e118f7ee8
commit
9b119ea634
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user