summaryrefslogtreecommitdiff
path: root/loginutils/vlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'loginutils/vlock.c')
-rw-r--r--loginutils/vlock.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/loginutils/vlock.c b/loginutils/vlock.c
index ff60d78..96c1f67 100644
--- a/loginutils/vlock.c
+++ b/loginutils/vlock.c
@@ -18,21 +18,21 @@
#include <sys/vt.h>
#include "libbb.h"
-static void release_vt(int signo)
+static void release_vt(int signo ATTRIBUTE_UNUSED)
{
/* If -a, param is 0, which means:
* "no, kernel, we don't allow console switch away from us!" */
ioctl(STDIN_FILENO, VT_RELDISP, (unsigned long) !option_mask32);
}
-static void acquire_vt(int signo)
+static void acquire_vt(int signo ATTRIBUTE_UNUSED)
{
/* ACK to kernel that switch to console is successful */
ioctl(STDIN_FILENO, VT_RELDISP, VT_ACKACQ);
}
int vlock_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
-int vlock_main(int argc, char **argv)
+int vlock_main(int argc ATTRIBUTE_UNUSED, char **argv)
{
struct vt_mode vtm;
struct termios term;