[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Minios-devel] [UNIKRAFT PATCH v2 2/8] include/uk: Add `extern C` to `plat/time.h`
Make include/uk/plat/time.h header usable with C++ Signed-off-by: Simon Kuenzer <simon.kuenzer@xxxxxxxxx> --- include/uk/plat/time.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/uk/plat/time.h b/include/uk/plat/time.h index 745c82c..202e0f9 100644 --- a/include/uk/plat/time.h +++ b/include/uk/plat/time.h @@ -38,9 +38,17 @@ #include <uk/arch/time.h> +#ifdef __cplusplus +extern "C" { +#endif + void ukplat_time_init(void); void ukplat_time_fini(void); __nsec ukplat_monotonic_clock(void); +#ifdef __cplusplus +} +#endif + #endif /* __UKPLAT_TIME_H__ */ -- 2.7.4 _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |