diff --git a/src/target/as.c b/src/target/as.c index 2299238..624f299 100644 --- a/src/target/as.c +++ b/src/target/as.c @@ -71,7 +71,8 @@ TargetPlugin target_plugin = _as_section, _as_function_begin, _as_function_call, - _as_function_end + _as_function_end, + NULL /* FIXME implement label_set */ }; diff --git a/src/target/graph.c b/src/target/graph.c index 02c32e6..e6580e8 100644 --- a/src/target/graph.c +++ b/src/target/graph.c @@ -44,13 +44,14 @@ static int _graph_function_end(void); /* variables */ TargetPlugin target_plugin = { - NULL, + NULL, /* options */ _graph_init, _graph_exit, - NULL, + NULL, /* section */ _graph_function_begin, _graph_function_call, - _graph_function_end + _graph_function_end, + NULL /* label_set */ }; diff --git a/src/target/target.h b/src/target/target.h index f7730d8..9caab9e 100644 --- a/src/target/target.h +++ b/src/target/target.h @@ -34,6 +34,7 @@ typedef struct _TargetPlugin int (*function_begin)(char const * name); int (*function_call)(char const * name); int (*function_end)(void); + int (*label_set)(char const * name); } TargetPlugin; #endif /* !_C99_TARGET_TARGET_H */