mirror of
https://github.com/troglobit/finit.git
synced 2026-10-17 10:49:34 +00:00
Remove UNUSED() macro and disable the compiler warning instead
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
e46e3cdcb6
commit
30822f0d68
27 files changed
+51
-52
No files matched your search
+2
-2
@@ -27,14 +27,14 @@
|
||||
#include "helpers.h"
|
||||
#include "plugin.h"
|
||||
|
||||
static void save(void *UNUSED(arg))
|
||||
static void save(void *arg)
|
||||
{
|
||||
_d("Saving system clock to RTC ...");
|
||||
/* -w,--systohc, -u,--utc */
|
||||
run_interactive("/sbin/hwclock -w -u", "Saving system time (UTC) to RTC");
|
||||
}
|
||||
|
||||
static void restore(void *UNUSED(arg))
|
||||
static void restore(void *arg)
|
||||
{
|
||||
_d("Restoring system clock from RTC ...");
|
||||
/* -s,--hctosys, -u,--utc */
|
||||
|
||||
Reference in new issue
Block a user