From 93e852a7e52e55cced7c1398d94dcded4fae7d20 Mon Sep 17 00:00:00 2001 From: John Jenkins Date: Fri, 10 Jan 2014 08:39:46 -0600 Subject: [PATCH] typo for init function in template LP --- src/Makefile.subdir | 1 - src/util/templates/lp_template.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Makefile.subdir b/src/Makefile.subdir index e933399..9bc4261 100644 --- a/src/Makefile.subdir +++ b/src/Makefile.subdir @@ -101,7 +101,6 @@ src_libcodes_base_a_SOURCES = \ # a program - Make error signifies test failure) check_PROGRAMS += src/util/templates/lp_template_dummy_main testlib_template = src/libcodes-base.a -src_util_templates_lp_template_dummy_main_CFLAGS = -Wno-unused-function src_util_templates_lp_template_dummy_main_LDADD = $(testlib_template) ${ROSS_LIBS} src_util_templates_lp_template_dummy_main_LDFLAGS = ${ROSS_LDFLAGS} src_util_templates_lp_template_dummy_main_SOURCES = \ diff --git a/src/util/templates/lp_template.c b/src/util/templates/lp_template.c index 010909b..cc41b8b 100644 --- a/src/util/templates/lp_template.c +++ b/src/util/templates/lp_template.c @@ -77,7 +77,7 @@ static void handle_template_b_rev( /* ROSS function pointer table for this LP */ tw_lptype template_lp = { - (init_f) template_init, + (init_f) template_lp_init, (event_f) template_event_handler, (revent_f) template_rev_handler, (final_f) template_finalize, -- 2.26.2