Skip to content

Commit

Permalink
Fix pctx_auxv_parse return type
Browse files Browse the repository at this point in the history
  • Loading branch information
mmamayka committed Aug 16, 2023
1 parent 91e1b85 commit 8dbf0ee
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions entry.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,13 @@ inline static void pctx_data_init(pctx_data_t* pctx_data) {
}
}

inline static int pctx_auxv_parse(pctx_data_t* pctx_data) {
inline static void pctx_auxv_parse(pctx_data_t* pctx_data) {
for(pctx_aux_entry_t const* entry = pctx_data->auxv;
entry->type != AT_NULL; ++entry) {
if(entry->type < PCTX_N_STD_AUXV_ENTRIES) {
pctx_data->std_auxv[entry->type] = *entry;
}
}

return 0;
}

inline static void pctx_sysv_header_parse(void const* pctx,
Expand Down

0 comments on commit 8dbf0ee

Please sign in to comment.