mirror of
https://github.com/troglobit/libite.git
synced 2026-10-31 12:50:41 +00:00
Remove UNUSED() macro, just use -Wno-unused instead
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
fe82ab953c
commit
705b402344
3 files changed
+2
-11
No files matched your search
+2
-2
@@ -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))
|
||||
|
||||
Reference in new issue
Block a user