diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-06-07 22:14:34 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-06-07 22:14:34 +0200 |
commit | e1b22596271321be4e462246b83fe7e73d3f4b6a (patch) | |
tree | 31fda0d286a7b9cab4e94ca075b8ba8cbcdcecc7 | |
parent | e84847ae60fe2abf963b41df82bb23a4a9a2c26c (diff) |
hide gcc messages
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | rtkit-daemon.c | 2 | ||||
-rw-r--r-- | rtkit-test.c | 21 |
3 files changed, 24 insertions, 1 deletions
@@ -1,4 +1,4 @@ -CFLAGS=-Wextra -Wall -O0 -g `pkg-config --cflags dbus-1` -pthread +CFLAGS=-Wextra -Wall -O0 -g `pkg-config --cflags dbus-1` -pthread -fdiagnostics-show-option LIBS= `pkg-config --libs dbus-1` -lrt all: rtkit-daemon rtkit-test rtkitctl diff --git a/rtkit-daemon.c b/rtkit-daemon.c index 6e66f3c..e80ee65 100644 --- a/rtkit-daemon.c +++ b/rtkit-daemon.c @@ -19,6 +19,8 @@ along with RealtimeKit. If not, see <http://www.gnu.org/licenses/>. ***/ +#pragma GCC diagnostic ignored "-Wunused-parameter" + #define _GNU_SOURCE #include <stdbool.h> diff --git a/rtkit-test.c b/rtkit-test.c index 25ef419..e9cb3c0 100644 --- a/rtkit-test.c +++ b/rtkit-test.c @@ -1,5 +1,26 @@ /*-*- Mode: C; c-basic-offset: 8 -*-*/ +/*** + This file is part of RealtimeKit. + + Copyright 2009 Lennart Poettering + + RealtimeKit is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + RealtimeKit is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with RealtimeKit. If not, see <http://www.gnu.org/licenses/>. +***/ + +#pragma GCC diagnostic ignored "-Wunused-parameter" + #include <errno.h> #include <string.h> #include <sched.h> |