From 685608a96e56090daffa0e5b3207d5fa4856492d Mon Sep 17 00:00:00 2001 From: Dmitry Mikushin Date: Wed, 28 Jun 2023 09:21:40 -0400 Subject: [PATCH] Adjust the functions signatures to match the expected function pointer signatures --- tools/flang1/flang1exe/inliner.c | 2 +- tools/flang1/flang1exe/semant.h | 2 +- tools/flang1/flang1exe/semsym.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/flang1/flang1exe/inliner.c b/tools/flang1/flang1exe/inliner.c index 0284c1e4b94..84685e201f9 100644 --- a/tools/flang1/flang1exe/inliner.c +++ b/tools/flang1/flang1exe/inliner.c @@ -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; diff --git a/tools/flang1/flang1exe/semant.h b/tools/flang1/flang1exe/semant.h index 91cd77e61fa..bad8e01d795 100644 --- a/tools/flang1/flang1exe/semant.h +++ b/tools/flang1/flang1exe/semant.h @@ -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); diff --git a/tools/flang1/flang1exe/semsym.c b/tools/flang1/flang1exe/semsym.c index 9e499054c6e..981f8fc2d63 100644 --- a/tools/flang1/flang1exe/semsym.c +++ b/tools/flang1/flang1exe/semsym.c @@ -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;