summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rtkit.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/rtkit.h b/rtkit.h
index 45bc438..c5aa390 100644
--- a/rtkit.h
+++ b/rtkit.h
@@ -42,13 +42,13 @@
* id as returned by gettid(), not a pthread_t! If 'thread' is 0 the
* current thread is used. The returned value is a negative errno
* style error code, or 0 on success. */
-int rtkit_make_realtime(DBusConnection *connection, pid_t thread, int priority);
+int rtkit_make_realtime(DBusConnection *system_bus, pid_t thread, int priority);
/* This is mostly equivalent to setpriority(PRIO_PROCESS, thread,
* nice_level). 'thread' needs to be a kernel thread id as returned by
* gettid(), not a pthread_t! If 'thread' is 0 the current thread is
* used. The returned value is a negative errno style error code, or 0
* on success.*/
-int rtkit_make_high_priority(DBusConnection *connection, pid_t thread, int nice_level);
+int rtkit_make_high_priority(DBusConnection *system_bus, pid_t thread, int nice_level);
#endif