Skip to content

Commit

Permalink
Adjust the functions signatures to match the expected function pointe…
Browse files Browse the repository at this point in the history
…r signatures
  • Loading branch information
dmikushin authored and bryanpkc committed Jul 25, 2023
1 parent 504c1b9 commit 36c17ea
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tools/flang1/flang1exe/inliner.c
Original file line number Diff line number Diff line change
Expand Up @@ -1526,7 +1526,7 @@ move_labels(int stdstart, int stdlast)
* actual parameter.
*/
static int
replace_parms(int ast, void *extra_arg)
replace_parms(int ast, int *extra_arg)
{
int iar;
int astLop, astNew, astSS, astSub, vastSubs[7], ast1;
Expand Down
2 changes: 1 addition & 1 deletion tools/flang1/flang1exe/semant.h
Original file line number Diff line number Diff line change
Expand Up @@ -1550,7 +1550,7 @@ int sym_in_scope(int, OVCLASS, int *, int *, int);
void sem_import_sym(int);
int test_scope(int);
int declref(int, SYMTYPE, int);
void set_internref_stfunc(int);
void set_internref_stfunc(int, int*);
int declsym(int, SYMTYPE, LOGICAL);
int refsym(int, OVCLASS);
int refsym_inscope(int, OVCLASS);
Expand Down
2 changes: 1 addition & 1 deletion tools/flang1/flang1exe/semsym.c
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ internref_bnd(int ast)
}

void
set_internref_stfunc(int ast)
set_internref_stfunc(int ast, int* extra_arg)
{
if (ast && A_TYPEG(ast) == A_ID) {
int sptr;
Expand Down

0 comments on commit 36c17ea

Please sign in to comment.