Remove UNUSED() macro, just use -Wno-unused instead

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2017-06-30 17:36:10 +02:00
1 parent fe82ab953c
commit 705b402344
3 files changed
+2 -11

No files matched your search

+2 -2
View File
@@ -15,13 +15,13 @@ static char PIDFILE[42];
static int verbose = 0;
static struct stat before, after;
static void sigterm_handler(int UNUSED(signo))
static void sigterm_handler(int signo)
{
PRINT("Exiting ...\n");
remove(PIDFILE);
}
static void sigalrm_handler(int UNUSED(signo))
static void sigalrm_handler(int signo)
{
PRINT("Calling pidfile(%s)\n", pidfile_arg ?: "NULL");
if (pidfile(pidfile_arg))