From 1e6a7d46d9ffc982ef44ce9aa9d43e20c1c1f17b Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 7 Jun 2009 22:14:49 +0200 Subject: minor cleanups --- rtkit-daemon.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'rtkit-daemon.c') diff --git a/rtkit-daemon.c b/rtkit-daemon.c index e80ee65..e0c3a53 100644 --- a/rtkit-daemon.c +++ b/rtkit-daemon.c @@ -1320,10 +1320,10 @@ static void* watchdog_thread(void *data) { enum { POLLFD_CANARY, POLLFD_QUIT, - POLLFD_MAX + _POLLFD_MAX }; struct timespec last_cheep, now; - struct pollfd pollfd[POLLFD_MAX]; + struct pollfd pollfd[_POLLFD_MAX]; assert(canary_fd >= 0); assert(quit_fd >= 0); @@ -1352,7 +1352,7 @@ static void* watchdog_thread(void *data) { if (msec < 0) msec = 0; - r = poll(pollfd, POLLFD_MAX, (int) msec); + r = poll(pollfd, _POLLFD_MAX, (int) msec); assert_se(clock_gettime(CLOCK_MONOTONIC, &now) == 0); @@ -1612,7 +1612,7 @@ enum { /* Table for getopt_long() */ static const struct option long_options[] = { { "help", no_argument, 0, ARG_HELP }, - { "version", no_argument, 0, ARG_VERSION}, + { "version", no_argument, 0, ARG_VERSION }, { "our-realtime-priority", required_argument, 0, ARG_OUR_REALTIME_PRIORITY }, { "our-nice-level", required_argument, 0, ARG_OUR_NICE_LEVEL }, { "max-realtime-priority", required_argument, 0, ARG_MAX_REALTIME_PRIORITY }, -- cgit