Changeset View
Changeset View
Standalone View
Standalone View
contrib/elftoolchain/libelf/_libelf.h
Context not available. | |||||
#ifndef __LIBELF_H_ | #ifndef __LIBELF_H_ | ||||
#define __LIBELF_H_ | #define __LIBELF_H_ | ||||
#include <stdbool.h> | |||||
#include <sys/queue.h> | #include <sys/queue.h> | ||||
cem: Usually sys headers come before standard C ones | |||||
#include "_libelf_config.h" | #include "_libelf_config.h" | ||||
Not Done Inline ActionsHard to tell from Phab, but it looks like other declarations have a tab between the underlying type and the * or function name, and the new ones may not? If they do, ignore this. cem: Hard to tell from Phab, but it looks like other declarations have a tab between the underlying… | |||||
Context not available. | |||||
int _libelf_setshnum(Elf *_e, void *_eh, int _elfclass, size_t _shnum); | int _libelf_setshnum(Elf *_e, void *_eh, int _elfclass, size_t _shnum); | ||||
int _libelf_setshstrndx(Elf *_e, void *_eh, int _elfclass, | int _libelf_setshstrndx(Elf *_e, void *_eh, int _elfclass, | ||||
size_t _shstrndx); | size_t _shstrndx); | ||||
Elf_Data * _libelf_getdata(Elf_Scn *s, Elf_Data *ed, bool updating); | |||||
Elf_Data * _libelf_rawdata(Elf_Scn *s, Elf_Data *ed, bool updating); | |||||
Done Inline Actionsalpha order, no space between * and func emaste: alpha order, no space between `*` and func | |||||
Done Inline ActionsSpace after * (return type) does not match existing file style cem: Space after `*` (return type) does not match existing file style | |||||
Elf_Data *_libelf_xlate(Elf_Data *_d, const Elf_Data *_s, | Elf_Data *_libelf_xlate(Elf_Data *_d, const Elf_Data *_s, | ||||
unsigned int _encoding, int _elfclass, int _direction); | unsigned int _encoding, int _elfclass, int _direction); | ||||
int _libelf_xlate_shtype(uint32_t _sht); | int _libelf_xlate_shtype(uint32_t _sht); | ||||
Context not available. |
Usually sys headers come before standard C ones