From: Tobias Grosser Date: Mon, 25 Apr 2011 06:48:19 +0000 (+0200) Subject: Add extern C declaration to schedule.h X-Git-Tag: isl-0.07~223 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a3030fcabcd32b7a1b91de342d6a05730b4469e5;p=platform%2Fupstream%2Fisl.git Add extern C declaration to schedule.h All headers except the recently added schedule.h header include an extern C declaration. Add the same declaration to schedule.h to allow flawless inclusion in C++ programs. Signed-off-by: Tobias Grosser Signed-off-by: Sven Verdoolaege --- diff --git a/include/isl/schedule.h b/include/isl/schedule.h index fae51d7..07e0965 100644 --- a/include/isl/schedule.h +++ b/include/isl/schedule.h @@ -4,6 +4,10 @@ #include #include +#if defined(__cplusplus) +extern "C" { +#endif + struct isl_schedule; typedef struct isl_schedule isl_schedule; @@ -18,4 +22,8 @@ int isl_schedule_n_band(__isl_keep isl_schedule *sched); __isl_give isl_union_map *isl_schedule_get_band(__isl_keep isl_schedule *sched, unsigned band); +#if defined(__cplusplus) +} +#endif + #endif