summaryrefslogtreecommitdiff
path: root/loginutils/vlock.c
diff options
context:
space:
mode:
authorDenis Vlasenko2008-07-05 09:18:54 +0000
committerDenis Vlasenko2008-07-05 09:18:54 +0000
commita60f84ebf07863e390b72a2b6150e461a1ec18e9 (patch)
treef59bc665cfe3d2d32622450d80523e3c1265e501 /loginutils/vlock.c
parentf6efccc0659a2e2978f2021153f34ce92257ad2b (diff)
downloadbusybox-a60f84ebf07863e390b72a2b6150e461a1ec18e9.zip
busybox-a60f84ebf07863e390b72a2b6150e461a1ec18e9.tar.gz
*: rename ATTRIBUTE_XXX to just XXX.
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 3ce40dd..442272a 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 ATTRIBUTE_UNUSED)
+static void release_vt(int signo UNUSED_PARAM)
{
/* 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 ATTRIBUTE_UNUSED)
+static void acquire_vt(int signo UNUSED_PARAM)
{
/* 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 ATTRIBUTE_UNUSED, char **argv)
+int vlock_main(int argc UNUSED_PARAM, char **argv)
{
struct vt_mode vtm;
struct termios term;