From e1b22596271321be4e462246b83fe7e73d3f4b6a Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 7 Jun 2009 22:14:34 +0200 Subject: hide gcc messages --- Makefile | 2 +- rtkit-daemon.c | 2 ++ rtkit-test.c | 21 +++++++++++++++++++++ 3 files changed, 24 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3a4c44d..5fd87e7 100644 --- a/Makefile +++ b/Makefile @@ -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 . ***/ +#pragma GCC diagnostic ignored "-Wunused-parameter" + #define _GNU_SOURCE #include 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 . +***/ + +#pragma GCC diagnostic ignored "-Wunused-parameter" + #include #include #include -- cgit