Skip to content

Commit 2cd591b

Browse files
committed
move declarations from resolve.c to resolve.h / add missing declaration
1 parent 663414f commit 2cd591b

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

include/express/resolve.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,15 @@ extern SC_EXPRESS_EXPORT void SCHEMAresolve( Scope );
8686
/*
8787
* for unit tests, no extern / export
8888
*/
89+
void VAR_resolve_expressions( Variable, Entity );
8990
void ENTITYresolve_subtypes( Schema );
9091
void ENTITYresolve_supertypes( Entity );
9192
void ENTITYresolve_expressions( Entity e );
9293
void ALGresolve_expressions_statements( Scope, Linked_List );
9394
int WHEREresolve( Linked_List, Scope, int );
9495
void TYPEresolve_expressions( Type, Scope );
96+
void STMTresolve( Statement, Scope );
9597
void STMTlist_resolve( Linked_List, Scope );
98+
int ENTITYresolve_subtype_expression( Expression, Entity, Linked_List * );
9699

97100
#endif /*RESOLVE_H*/

src/express/resolve.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ static bool found_self; /**< remember whether we've seen a SELF in a WHERE clau
110110
/* function prototypes */
111111
/***********************/
112112

113-
extern void VAR_resolve_expressions( Variable, Entity );
114113
extern void VAR_resolve_types( Variable v );
115114

116115
/** Initialize the Fed-X second pass. */
@@ -818,7 +817,6 @@ void VAR_resolve_types( Variable v ) {
818817
**
819818
** Resolve all references in a statement.
820819
*/
821-
void STMTresolve( Statement statement, Scope scope );
822820

823821
void STMTlist_resolve( Linked_List list, Scope scope ) {
824822
LISTdo( list, s, Statement )

0 commit comments

Comments
 (0)