From 108e5bbae0c1bb41b88434e74d039b6df50fed0e Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 16 Jun 2009 17:06:57 +0200 Subject: add C++ wrappers --- rtkit.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/rtkit.h b/rtkit.h index c5aa390..2081b4e 100644 --- a/rtkit.h +++ b/rtkit.h @@ -30,6 +30,10 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif + /* This is the reference implementation for a client for * RealtimeKit. You don't have to use this, but if do, just copy these * sources into your repository */ @@ -51,4 +55,8 @@ int rtkit_make_realtime(DBusConnection *system_bus, pid_t thread, int priority); * on success.*/ int rtkit_make_high_priority(DBusConnection *system_bus, pid_t thread, int nice_level); +#ifdef __cplusplus +} +#endif + #endif -- cgit