diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-06-16 17:06:57 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-06-16 17:06:57 +0200 |
commit | 108e5bbae0c1bb41b88434e74d039b6df50fed0e (patch) | |
tree | 5c19814aea84bd2e602b826fb65903b93e88bbf3 /rtkit.h | |
parent | db2d157f0d8922e88689631b9de26aea30229182 (diff) |
add C++ wrappers
Diffstat (limited to 'rtkit.h')
-rw-r--r-- | rtkit.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -30,6 +30,10 @@ #include <sys/types.h> #include <dbus/dbus.h> +#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 |