Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust the functions signatures to match the expected function pointer signatures #1390

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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