Skip to content

Commit

Permalink
internal: remove interp arg from pf_register_standard_funcs()
Browse files Browse the repository at this point in the history
This is not exported, so no deal. Closes GH #1183
  • Loading branch information
Reini Urban committed Jan 20, 2015
1 parent 87bd85b commit 0809f74
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions include/parrot/packfile.h
Original file line number Diff line number Diff line change
Expand Up @@ -1351,8 +1351,8 @@ void default_dump_header(PARROT_INTERP, ARGIN(const PackFile_Segment *self))
__attribute__nonnull__(1)
__attribute__nonnull__(2);

void pf_register_standard_funcs(PARROT_INTERP, ARGMOD(PackFile *pf))
__attribute__nonnull__(2)
void pf_register_standard_funcs(ARGMOD(PackFile *pf))
__attribute__nonnull__(1)
FUNC_MODIFIES(*pf);

PARROT_WARN_UNUSED_RESULT
Expand Down
2 changes: 1 addition & 1 deletion src/packfile/api.c
Original file line number Diff line number Diff line change
Expand Up @@ -1418,7 +1418,7 @@ Parrot_pf_new(PARROT_INTERP, INTVAL is_mapped)

/* Other fields empty for now */
pf->cur_cs = NULL;
pf_register_standard_funcs(interp, pf);
pf_register_standard_funcs(pf);

/* create the master directory, all sub-dirs go there */
pf->directory.base.pf = pf;
Expand Down
4 changes: 2 additions & 2 deletions src/packfile/segments.c
Original file line number Diff line number Diff line change
Expand Up @@ -1139,7 +1139,7 @@ default_dump(PARROT_INTERP, ARGIN(const PackFile_Segment *self))

/*
=item C<void pf_register_standard_funcs(PARROT_INTERP, PackFile *pf)>
=item C<void pf_register_standard_funcs(PackFile *pf)>
Registers a PackFile's functions; called from within C<Parrot_pf_new()>.
Expand All @@ -1148,7 +1148,7 @@ Registers a PackFile's functions; called from within C<Parrot_pf_new()>.
*/

void
pf_register_standard_funcs(SHIM_INTERP, ARGMOD(PackFile *pf))
pf_register_standard_funcs(ARGMOD(PackFile *pf))
{
ASSERT_ARGS(pf_register_standard_funcs)

Expand Down

0 comments on commit 0809f74

Please sign in to comment.